Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wal: update lastWriteTime behavior #9327

Merged
merged 3 commits into from
Jan 17, 2018
Merged

wal: update lastWriteTime behavior #9327

merged 3 commits into from
Jan 17, 2018

Conversation

joelegasse
Copy link
Contributor

The current behavior with the WAL code causes the LastModified time of a shard to incorrectly be reported as the modified time of the most recent WAL segment. Due to some other behavior in the WAL, that could be as recent as the last time the server started up, even if the shard hasn't seen writes in weeks or months prior to that.

Required for all non-trivial PRs
  • Rebased/mergable
  • Tests pass
  • CHANGELOG.md updated

@joelegasse joelegasse requested a review from jwilder January 17, 2018 02:29
@ghost ghost assigned joelegasse Jan 17, 2018
@ghost ghost added the review label Jan 17, 2018
Copy link
Contributor

@e-dard e-dard left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@joelegasse joelegasse merged commit 140d5c3 into master Jan 17, 2018
@ghost ghost removed the review label Jan 17, 2018
@joelegasse joelegasse deleted the jl-wal-lastmodified branch January 17, 2018 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants