elasticsearch/x-pack
Martijn van Groningen 2b6a7fed44
Fix issues with ReinitializingSourceProvider (#118370) (#118430)
The previous fix to ensure that each thread uses its own SearchProvider wasn't good enough.  The read from `perThreadProvider` field could be stale and therefore returning a previous source provider.  Instead the source provider should be returned from `provider` local variable.

This change also addresses another issue, sometimes current docid goes backwards compared to last seen docid and this causes issue when synthetic source provider is used, as doc values can't advance backwards. This change addresses that by returning a new source provider if backwards docid is detected.

Closes #118238
2024-12-11 22:28:43 +11:00
..
dev-tools
libs [Gradle] Update shadow plugin (#116826) (#116876) 2024-11-16 15:06:40 +01:00
license-tools Make some practically static methods static (#97565) 2023-10-06 23:37:07 +02:00
plugin Fix issues with ReinitializingSourceProvider (#118370) (#118430) 2024-12-11 22:28:43 +11:00
qa [8.17] [Gradle] Remove static use of BuildParams (#115122) (#117433) 2024-11-25 18:29:26 +01:00
rest-resources-zip Add AGPLv3 as a supported license 2024-09-13 14:30:33 -07:00
test Add gradle plugin for publishing docker based test fixtures (#106229) 2024-03-21 12:29:38 -04:00
build.gradle
NOTICE.txt
README.md

Elastic License Functionality

This directory tree contains files subject to the Elastic License. The files subject to the Elastic License are grouped in this directory to clearly separate them from files licensed under the Server Side Public License, v 1.