-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lsm: hold read lock on iterate (#557)
* lsm: hold read lock on Iterate Otherwise, snapshots will not hold a read lock over the index when iterating. * *: handle 0-size object storage blocks There are sometimes errors when serializing a block. This would cause us to create a file but not delete it. This commit deletes an object storage file on serialization failure. Additionally, this commit ignores empty object storage files on scans.
- Loading branch information
Showing
2 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters