This is unsafe to do in an onCommit handler as commit handlers run after the storage transaction committed and the writable collection was published in the CollectionCatalog. This can result in read operations unexpectedly seeing changes to this index entry.
Remove commit handler write to index catalog entry in IndexCatalogImpl::indexBuildSuccess()
- Votes:
-
0 Vote for this issue
- Watchers:
-
3 Start watching this issue
- Created:
- Updated:
- Resolved: