-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
graph: rewrite pk; remove horizon and ts from delta; rewrite memstore
Primary key was broken in many ways, for example it carried mutex, but all updates happened with Next that copied value (with mutex). Most backends are able to provide their own pk for log entries, so it better to use it instead of our own implementation. Delta was changed in incompatible way: ID and Timestamp was removed. As described above, ID shold be set by QS after TX, while TS should not be sent from client. Both values are now set in backend code. Memstore was rewritten to reflect changes. It was also updated to use Primitives instead of nodes/quads.
- Loading branch information
Showing
29 changed files
with
689 additions
and
548 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.