cmu-db / peloton

The Self-Driving Database Management System
http://pelotondb.io
Apache License 2.0
2.03k stars 624 forks source link

Set LastReaderCommitId on new versions #1429

Closed mbutrovich closed 6 years ago

mbutrovich commented 6 years ago

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.