-
Notifications
You must be signed in to change notification settings - Fork 57
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
feat : Fallback to bucketAuto Strategy In Monngodb #158
Conversation
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.
LGTM
drivers/mongodb/internal/backfill.go
Outdated
return chunks, nil | ||
} | ||
|
||
switch m.config.PartitionStrategy { | ||
case "timestamp": | ||
return timestampStrategy() | ||
default: | ||
return splitVectorStrategy() | ||
chunks, err := splitVectorStrategy() | ||
if err != nil { |
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.
this can fail even if some network error happened.
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.
we need to specifically check for split vector not supported kind
of log
47d371a
to
4f987ff
Compare
4f987ff
to
a1de349
Compare
Description
Introduces a fallback to the bucketAuto strategy when the splitVector strategy encounters issues in Atlas environments.
Fixes # (issue)
Type of change
How Has This Been Tested?
Screenshots or Recordings
Related PR's (If Any):