-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
GetKeyValuesAndFlatMap should return error if not retriable #5967
Conversation
AWS CodeBuild CI Report for macOS Catalina 10.15
|
dcb9a68
to
f1e9134
Compare
AWS CodeBuild CI Report for Linux CentOS 7
|
AWS CodeBuild CI Report for Linux CentOS 7
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's your joshua result?
fdbserver/storageserver.actor.cpp
Outdated
GetKeyValuesAndFlatMapReply _r = wait(flatMap(data, getKeyValuesReply, req.mapper)); | ||
r = _r; | ||
} catch (Error& e) { | ||
TraceEvent(SevInfo, "FlatMapError").error(e); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is SevInfo
needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed
@@ -109,17 +110,27 @@ struct IndexPrefetchDemoWorkload : TestWorkload { | |||
mapper, | |||
GetRangeLimits(CLIENT_KNOBS->TOO_MANY))); | |||
showResult(result); | |||
if (self->BAD_MAPPER) { | |||
TraceEvent("IndexPrefetchDemoWorkloadShouldNotReachable").detail("ResultSize", result.size()); | |||
// UNREACHABLE(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove commented out code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed
f1e9134
to
2d5f924
Compare
AWS CodeBuild CI Report for Linux CentOS 7
|
…to FDB This includes apple#5945 apple#5955 apple#5965 apple#5967 apple#5978 from master
…to FDB This includes apple#5945 apple#5955 apple#5965 apple#5967 apple#5978 from master
…to FDB This includes apple#5945 apple#5955 apple#5965 apple#5967 apple#5978 from master
…to FDB This includes apple#5945 apple#5955 apple#5965 apple#5967 apple#5978 from master
…to FDB This includes apple#5945 apple#5955 apple#5965 apple#5967 apple#5978 from master
…to FDB This includes apple#5945 apple#5955 apple#5965 apple#5967 apple#5978 from master
I recently find out that the
GetKeyValuesAndFlatMap
endpoint will retry forever for a non-retriable error (e.g. the "mapper" in user's request is invalid). We need this fix in 7.0 to make the new feature useful.Code-Reviewer Section
The general guidelines can be found here.
Please check each of the following things and check all boxes before accepting a PR.
For Release-Branches
If this PR is made against a release-branch, please also check the following:
release-branch
ormaster
if this is the youngest branch)