commit | ef4fa4363da453280b55c197d3a52d9c3e722917 | [log] [tgz] |
---|---|---|
author | Sergey Rogulenko <rogulenko@google.com> | Wed May 20 17:33:24 2015 -0700 |
committer | Sergey Rogulenko <rogulenko@google.com> | Wed May 20 17:33:25 2015 -0700 |
tree | fe8cce6dac6d7b86c962113b7ccb569e557a0450 | |
parent | bdb2bfaced881380c1cc25cfb8447612836dc5dd [diff] |
store/leveldb: recursively close objects Make sure that ia object 'a' is closed, then object 'b' created from 'a' is also closed, where 'a'->'b' are: store -> transaction -> stream store -> snapshot -> stream store -> stream Also remove ResetForRetry function from the API of transactions, because it becomes harder to track the half-closed state of a transaction and there is not much benefit for having this function now. Change-Id: Icf9158bcf3cb1c57f75dd1d9d0cadd95e3350a20