Update ModifyIndex comment

This commit is contained in:
Seth Vargo 2016-09-26 13:31:19 -07:00
parent d2677aede2
commit 81a28ffd38
No known key found for this signature in database
GPG Key ID: 905A90C2949E8787
1 changed files with 3 additions and 1 deletions

View File

@ -19,7 +19,9 @@ type KVPair struct {
// is a read-only field.
CreateIndex uint64
// ModifyIndex is used for the Check-And-Set operations.
// ModifyIndex is used for the Check-And-Set operations and can also be fed
// back into the WaitIndex of the QueryOptions in order to perform blocking
// queries.
ModifyIndex uint64
// LockIndex holds the index corresponding to a lock on this key, if any. This