Skip to content
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.

Set LastReaderCommitId on new versions #1429

Merged
merged 3 commits into from
Jun 26, 2018
Merged

Set LastReaderCommitId on new versions #1429

merged 3 commits into from
Jun 26, 2018

Conversation

mbutrovich
Copy link
Contributor

@mbutrovich mbutrovich commented Jun 26, 2018

Addresses points 5 and 6 of #1420. MVTO should set the Last Reader timestamp to be the version creator's timestamp.[1] This was previously not done, and could trigger an assertion failure in Debug mode.

[1]A. Silberschatz, H. Korth and S. Sudarshan, Database System Concepts, 6th ed. New York: McGraw Hill, 2011, p. 690.

Copy link
Contributor

@tli2 tli2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tli2 tli2 merged commit d3e3289 into cmu-db:master Jun 26, 2018
@mbutrovich mbutrovich deleted the mvto branch June 26, 2018 19:25
mtunique pushed a commit to mtunique/peloton that referenced this pull request Apr 16, 2019
* Set LastReaderCommitId on insert, update, and delete versions. Addresses parts 5 and 6 of cmu-db#1420.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants