-
Notifications
You must be signed in to change notification settings - Fork 210
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
OpenSearch sink not rolling over the index after upgrading from 2.7 to 2.10 #5258
Comments
After looking at bug: #3506 I checked the alias setting and it is set:
The last index also has it: GET otel-v1-apm-span-000056/_settings
Now I started a completely new cluster with empty indexes and I do see the roll over so the problem seems to be only on the cluster that was upgraded. What can I do there on this existing cluster to start rolling the indexes again? This same index just keeps growing.
|
@dmossakowski Thanks for reaching out and reporting the issue! I have two questions
|
Hi, yes that was the current index at the time and yes I did try to roll it. The roll action actually failed with the error below but the index has started rolling since. The index 56 is in green state and the latest one is 62.
Is there a way to fix this? Maybe to break the index apart? Thank you for your help. |
@dmossakowski It seems there are two write indices at the moment. This cannot be resolved automatically with data prepper. Could you check under https://github.com/opensearch-project/index-management to see if there is way to recover from this index state? |
Since migrating from 2.7.0 to 2.10.1 the index id stayed at the same number (000056) and is no longer rolling over. You can see below that previously indexes would be rolled around 500mb but this latest one is now at 108.5gb. Number of documents used to be around 300000 but now it's more than 73 million. Did I miss some configuration?
Data prepper config:
The text was updated successfully, but these errors were encountered: