-
Notifications
You must be signed in to change notification settings - Fork 452
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sharedobjcat: allow addition/deletion of object in same batch
On rare occasions, if we cancel a compaction at a point right after creating a new object, we'll end up deleting the object shortly after. Sometimes the two can happen with no explicit Sync() call in between, resulting in the object being created and deleted in the same batch which currently results in an error. This change allows for this case by moving around logic in the catalog batch application code.
- Loading branch information
Showing
2 changed files
with
34 additions
and
26 deletions.
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