elasticsearch/server
Chris Hegarty 7f05ab9cf6
Fix and test off-heap stats when using direct IO for accessing the raw vectors (#128615)
Fix and test off-heap stats when using direct IO for accessing the raw vectors. The direct IO reader is not using off-heap, so it returns an empty map to indicate that there is no off-heap requirements. I added some overloaded of tests with different directories to verify this.

Note: For 9.1 we're still using reflection to access the internals of non-ES readers, but DirectIO is an ES reader so we can use our internal OffHeapStats interface (rather than reflection). This is all replaced when we eventually get Lucene 10.3.
2025-05-29 17:43:07 +01:00
..
licenses Remove JNA from server dependencies (#110809) 2024-07-16 11:28:58 +03:00
src Fix and test off-heap stats when using direct IO for accessing the raw vectors (#128615) 2025-05-29 17:43:07 +01:00
build.gradle Generate a test dependencies file to support unit tests in entitlements (#127486) 2025-05-21 16:21:28 -07:00