Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unified add/change property at commit
Transaction state before commit time represents logical changes that are to be converted to physical changes during commit. This is true for everything except property add/change. User can only "set" properties, not differentiate between add or change by intent. Yet the transaction state would capture and keep state for every property whether or not it was an added or changed property, i.e. whether or not the property already existed in the store at the time of making the change in the transaction (state). This information would then affect how the property changes would be converted into physical changes, i.e. the logical transaction state contained actual pysical state, which is fundamentally wrong. This happened to work since write locks were acquired before reading physical state affecting how a property change was represented in the logical transaction state. With different locking strategies this problem was exposed and so have to be fixed. Now property changes will be treated simply as "set" operation, i.e. "add or change" when converting logical state to physical at commit time.
- Loading branch information
Showing
6 changed files
with
515 additions
and
122 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
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
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
Oops, something went wrong.