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

Some elasticsearch index could have incorrect index type during elasticsearch upgrate from 6.x to 7.x #125

Open
1 task done
d3c3mber opened this issue Jun 28, 2024 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@d3c3mber
Copy link
Collaborator

There's no existing/similar bug report.

  • I have searched the existing issues

Describe the bug:

Some elasticsearch index could have incorrect index type during elasticsearch upgrate from 6.x to 7.x

Expected behavior:

The upgrade processure is smooth and the type for all indices rename correct.

Additional

No response

Lunettes version

No response

Kubernetes version

No response

@d3c3mber d3c3mber added bug Something isn't working help wanted Extra attention is needed labels Jun 28, 2024
@linuzb
Copy link
Collaborator

linuzb commented Jun 29, 2024

Can you give some examples?

As far as I know, elasticsearch 7.x no longer needs mapping type, so we don't need to fix the mapping type. I think we don't need to correct the mapping type, but delete the meaningless mapping type. Here is a discussion on mapping type.

@d3c3mber
Copy link
Collaborator Author

d3c3mber commented Jul 1, 2024

Thanks @linuzb, some indices (slo_data, slo_trace_data_daily) get inconsistent doc type from _doc to data during upgrade from es6 to es7, not sure if this happens every time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants