Open nielsbauman opened 3 months ago
Pinging @elastic/es-data-management (Team:Data Management)
Hi @nielsbauman, may I work on this issue?
Hi @cam4phor, sure, go ahead! Thanks for your interest in Elasticsearch :)
Thanks, I'll update my findings here
well, I'm new on open source.I have seen this project using java but I'm sure where to start.Can anyone help me...
Hi @nielsbauman , I have been working on optimizing error handling after lazy rollovers and have raised a PR for this: PR #111572. Additionally, I have signed the contributors' document.
As I am new to open source contributions, I would greatly appreciate any feedback or guidance you can provide to ensure I have addressed this issue thoroughly.
Currently, we're looping over all the requests in the bulk request for each failed lazy rollover (here, and once https://github.com/elastic/elasticsearch/pull/108108 is merged, we'll do it in
BulkOperation
too). While this is probably around O(n) in practice, it's technically O(n^2), if each document was destined to a different failure store and each rollover failed.A better alternative would be to collect all the failed rollovers and traverse the documents one time.