Skip to content

Add no-read assert to read-repair test#39

Closed
ifesdjeen wants to merge 2 commits intoapache:masterfrom
ifesdjeen:avoid-querying-self-through-ms
Closed

Add no-read assert to read-repair test#39
ifesdjeen wants to merge 2 commits intoapache:masterfrom
ifesdjeen:avoid-querying-self-through-ms

Conversation

@ifesdjeen
Copy link
Copy Markdown
Contributor

No description provided.

assert storage_proxy.speculated_rr_read == 0
assert storage_proxy.speculated_rr_write == 0

warn = node2.grep_log("Message-to-self TYPE:READ")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is this something we want to check for in all dtests all the time as part of checking the log for errors?

It might help us avoid leaving spammy log lines that don't mean much to users in the long run.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ultimately - yes. But unfortunately there are still a couple of places we still do that. Maybe we should widen the scope of the ticket and check more places where this is happening. Or open a separate issue.

@ifesdjeen ifesdjeen force-pushed the avoid-querying-self-through-ms branch from ed1055e to efb3a1a Compare October 9, 2018 21:17
@ifesdjeen
Copy link
Copy Markdown
Contributor Author

Thank you for the review, committed the latest version manually

@ifesdjeen ifesdjeen closed this Oct 12, 2018
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.

2 participants