Skip to content

Commit

Permalink
update an example and tiflash faq (pingcap#14611) (pingcap#14618)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Aug 28, 2023
1 parent 36d1f20 commit f8e9e89
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions faq/tidb-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ As a standalone database, MySQL can only implement across-database transactions
- [TiFlash](/tiflash/tiflash-overview.md) introduces a special structure named DeltaTree to process the modification of the columnar engine.
- TiFlash acts as the learner role in a Raft group, so it does not vote for the log commit or writes. This means that DML operations do not have to wait for the acknowledgment of TiFlash, which is why TiFlash does not slow down the OLTP performance. In addition, TiFlash and TiKV work in separate instances, so they do not affect each other.

### Is TiFlash eventually consistent?
### What kind of consistency does TiFlash provide?

Yes. TiFlash maintains strong data consistency by default.
TiFlash maintains strong data consistency by default. The raft learner process updates the data. There is also a TSO check to ensure the data in queries is fully consistent with the transaction. For more information, see [Asynchronous replication](/tiflash/tiflash-overview.md#asynchronous-replication) and [Consistency](/tiflash/tiflash-overview.md#consistency).

## TiDB techniques

Expand Down
10 changes: 7 additions & 3 deletions schedule-replicas-by-topology-labels.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,21 +140,25 @@ server_configs:
tikv_servers:
# z1
- host: tikv-1
port:20160
config:
server.labels:
zone: z1
host: h1
- host: tikv-2
- host: tikv-1
port:20161
config:
server.labels:
zone: z1
host: h1
- host: tikv-3
- host: tikv-2
port:20160
config:
server.labels:
zone: z1
host: h2
- host: tikv-4
- host: tikv-2
port:20161
config:
server.labels:
zone: z1
Expand Down

0 comments on commit f8e9e89

Please sign in to comment.