[skip ci] Check the syntax of meta_snapshot docs (#13307)

Signed-off-by: min.tian <min.tian.cn@gmail.com>
pull/13352/head
min.tian 2021-12-14 16:23:46 +08:00 committed by GitHub
parent f311353182
commit 3b8773b999
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ The output of above test program should look like this:
--- PASS: TestMVCC (0.01s)
```
In `etcd`, each write operation would add `1` to `Revision`. So if we specify the `Revision` value at query, we can get the historical value under that `Revision`.
In `etcd`, each writes operation would add `1` to `Revision`. So if we specify the `Revision` value at query, we can get the historical value under that `Revision`.
`metaSnapShot` is based on this feature of `etcd`. We will write an extra `Timestamp` on each write operation. `etcd`'s `Txn` makes sure that the `Timestamp` would have the same `Revision` with user data.