|
@@ -77,12 +77,12 @@ type store struct {
|
|
|
ReadView
|
|
ReadView
|
|
|
WriteView
|
|
WriteView
|
|
|
|
|
|
|
|
- cfg StoreConfig
|
|
|
|
|
-
|
|
|
|
|
// consistentIndex caches the "consistent_index" key's value. Accessed
|
|
// consistentIndex caches the "consistent_index" key's value. Accessed
|
|
|
// through atomics so must be 64-bit aligned.
|
|
// through atomics so must be 64-bit aligned.
|
|
|
consistentIndex uint64
|
|
consistentIndex uint64
|
|
|
|
|
|
|
|
|
|
+ cfg StoreConfig
|
|
|
|
|
+
|
|
|
// mu read locks for txns and write locks for non-txn store changes.
|
|
// mu read locks for txns and write locks for non-txn store changes.
|
|
|
mu sync.RWMutex
|
|
mu sync.RWMutex
|
|
|
|
|
|