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

[v23.2.x] demote ERROR message to DEBUG for timequerys at the edge of spillover retention #16312

Conversation

andijcr
Copy link
Contributor

@andijcr andijcr commented Jan 26, 2024

Backport of PR #16302

Fixes #16305

(cherry picked from commit 79585cd)
(cherry picked from commit b34c114)
prev if block is a bouncer condition in the form if(is_stm(q)) so it's
assured (!in_stm(q))

(cherry picked from commit ecc24d2)
(cherry picked from commit 399406b)
(cherry picked from commit b7a7926)
(cherry picked from commit a28c731)
log a warning if when trying to get a async_manifest_view_cursor for a
timequery the result is out_of_range.
such error can happen if retention is kicking in and deleting some or
all spillover manifests: in this case there is a window where the
manifest are reclaimable but still kept in memory, and the timequery
hits one of the manifest in the reclaimable range.

handling this as a warning and no result is acceptable because the kafka
client issuing the request can handle this failure, and otherwise
handling this edge cases would increase the complexity of the callstack

(cherry picked from commit 4ca7281)
@abhijat
Copy link
Contributor

abhijat commented Jan 29, 2024

/ci-repeat

@andijcr
Copy link
Contributor Author

andijcr commented Jan 29, 2024

this failure is triggering #8217

but the issue is different (and the fix for that ticket is in this branch)
the test looks for this message

ERASE_ERROR_MSG = "Inconsistency detected between KVStore last_applied"

in the log to signal that an inconsistency has been detected, but it does not appear in the log.

this should be unrelated to this pr,since this is just an error -> debug conversion

@piyushredpanda
Copy link
Contributor

Merging given the above comment.

@piyushredpanda piyushredpanda merged commit 22a0000 into redpanda-data:v23.2.x Feb 5, 2024
20 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/redpanda kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[v23.2.x] demote ERROR message to DEBUG for timequerys at the edge of spillover retention
3 participants