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

Enforce DOCUMENT Replication for AD Indices and Adjust Primary Shards #948

Merged
merged 2 commits into from
Jul 11, 2023

Commits on Jul 11, 2023

  1. Enforce DOCUMENT Replication for AD Indices and Adjust Primary Shards

    In this PR, we temporarily enforce DOCUMENT replication for AD indices. This change is necessary due to the current limitation of SegRep, which doesn't support Get/MultiGet by ID. This measure will be in place until SegRep adds support for these operations.
    
    This adjustment aligns with the modification made in the referenced PR: job-scheduler PR opensearch-project#417
    
    Additionally, this PR increases the number of primary shards for forecasting indices from 10 to 20, recognizing the higher write intensity of these indices. For instance, when the horizon is 24, we are expected to save 25 documents: 24 for each forecast and 1 for the actual value. In contrast, for AD, we save one document per actual value.
    
    Testing done:
    1. gradle build passed
    
    Signed-off-by: Kaituo Li <[email protected]>
    kaituo committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    ff7bb29 View commit details
    Browse the repository at this point in the history
  2. Fix comments

    Signed-off-by: Kaituo Li <[email protected]>
    kaituo committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    b3e0e03 View commit details
    Browse the repository at this point in the history