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
13 files changed
tree: f1ff8375860d4228a2935f071edfba46ccb7e927
- services/