etcd/storage
Yicheng Qin c97dda766e storage: hold batchTx lock during KV txn
One txn is treated as atomic, and might contain multiple Put/Delete/Range
operations. For now, between these operations, we might call forecCommit
to sync the change to disk, or backend may commit it in background.
Thus the snapshot state might contains an unfinished multiple objects
transaction, which is dangerous if database is restored from the snapshot.

This PR makes KV txn hold batchTx lock during the process and avoids
commit to happen.
2015-10-03 16:01:05 -07:00
..
2015-09-23 11:28:33 -07:00
2015-09-04 10:41:20 -07:00
2015-09-15 14:09:01 -07:00
2015-09-15 14:09:01 -07:00
2015-09-15 14:09:01 -07:00
2015-08-28 15:17:16 -07:00
2015-09-15 14:09:01 -07:00
2015-09-15 14:09:01 -07:00