You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enforce DOCUMENT Replication for AD Indices and Adjust Primary Shards (opensearch-project#948)
* 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 <kaituo@amazon.com>
* Fix comments
Signed-off-by: Kaituo Li <kaituo@amazon.com>
---------
Signed-off-by: Kaituo Li <kaituo@amazon.com>
0 commit comments