-
Notifications
You must be signed in to change notification settings - Fork 202
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
Rename os source rate/job_count to interval/count, acquire UNASSIGNED partitions before CLOSED partitions #3327
Rename os source rate/job_count to interval/count, acquire UNASSIGNED partitions before CLOSED partitions #3327
Conversation
f3032a2
to
d4db9f6
Compare
… partitions before CLOSED partitions Signed-off-by: Taylor Gray <[email protected]>
d4db9f6
to
795be99
Compare
|
||
@Min(1) | ||
@JsonProperty("job_count") | ||
private int jobCount = 1; | ||
@JsonProperty("count") |
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 there some other noun modifier we can use instead of "job"? Count is vague and it is hard to understand what is happening here.
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.
It really represents the the number of times each index will be processed. Do you have a name suggestion? index_processing_count
seems a little verbose
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.
It might be verbose, but I can understand it. Perhaps index_read_count
? Or maybe processing_count
to avoid the "per-index" idea.
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.
It is per index though. I like index_read_count
Signed-off-by: Taylor Gray <[email protected]>
… partitions before CLOSED partitions (opensearch-project#3327) * Rename os source rate/job_count to interval/count, acquire UNASSIGNED partitions before CLOSED partitions Signed-off-by: Taylor Gray <[email protected]> * Rename count to index_read_count Signed-off-by: Taylor Gray <[email protected]> --------- Signed-off-by: Taylor Gray <[email protected]>
Description
rate
andjob_count
tointerval
andcount
reOpenAt
time is small, and instead will guarantee that all UNASSIGNED partitions are processed before CLOSED partitionsquery
from the OpenSearch source configuration, as it is unused in the codeCheck List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.