Prechádzať zdrojové kódy

doc(CompareAndSwap): clarify prevIndex in CAS

Brian Waldon 12 rokov pred
rodič
commit
1fcbc83503
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      Documentation/api.md

+ 1 - 1
Documentation/api.md

@@ -399,7 +399,7 @@ The current comparable conditions are:
 
 
 1. `prevValue` - checks the previous value of the key.
 1. `prevValue` - checks the previous value of the key.
 
 
-2. `prevIndex` - checks the previous index of the key.
+2. `prevIndex` - checks the previous modifiedIndex of the key.
 
 
 3. `prevExist` - checks existence of the key: if `prevExist` is true, it is an `update` request; if prevExist is `false`, it is a `create` request.
 3. `prevExist` - checks existence of the key: if `prevExist` is true, it is an `update` request; if prevExist is `false`, it is a `create` request.