[Bug] backend storage(elasticsearch) cannot change number_for_shards #9222
Unanswered
peng19940915
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Yes, this is expected behavior. There is no point to use SkyWalking OAP to change the existing template settings. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Search before asking
Apache SkyWalking Component
OAP server (apache/skywalking)
What happened
elasticsearch number_of_shards not work
What you expected to happen
when i change 「SW_STORAGE_ES_SUPER_DATASET_INDEX_SHARDS_FACTOR」to 6 &「SW_STORAGE_ES_INDEX_SHARDS_NUMBER」to 1
the new index like 「sw_segment」's number_of_shards need to be 6 ,but it's still was "5"
How to reproduce
skywalking oap server version: 8.9.1
elasticsearch version: elasticsearch-oss:7.10.2-arm64
Anything else
when i delete the template:sw_segment, and create index:sw_segment-hello it's still use number_of_shards=5
i change another elasticsearch cluster(without skywalking template ), the new index also was 5 number_of_shards
Are you willing to submit PR?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions