02f9d91e49
This commit reduces the compare set size the STM will submit in transactions by adding only the bucket keys along the bucket path to a specific lock set. This lock set then used to filter the read set, effectively removing all read only keys from the transaction predicate that are not bucket keys. By tracking if a read-write tx actually changes something, we can also "bump" the mod revision of the bucket keys. With this trick we essentially implement a read-write lock for our bucket structure greatly reducing transaction processing time. |
||
---|---|---|
.. | ||
bucket_test.go | ||
bucket.go | ||
db_test.go | ||
db.go | ||
driver_test.go | ||
driver.go | ||
embed.go | ||
fixture_test.go | ||
readwrite_bucket_test.go | ||
readwrite_bucket.go | ||
readwrite_cursor_test.go | ||
readwrite_cursor.go | ||
readwrite_tx_test.go | ||
readwrite_tx.go | ||
stm_test.go | ||
stm.go | ||
walletdb_interface_test.go |