Commit Graph
6190 Commits
Author SHA1 Message Date
Seth 8d6a2e79f5 Add SortedMapIterator unit tests
Cover seeking with inclusive, exclusive and partial start keys, end keys, empty
and infinite ranges, exhausting a range with next(), deepCopy, and the interrupt
flag: seek() checks it on every call, while next() checks it on every 100th
call starting with the first, counting the calls seek() makes to skip an
exclusive start key. Adds the junit-jupiter test dependency to the module.
2026-11-09 10:19:34 -05:00
Seth de89b0628c Throw an IterationInterruptedException when SortedMapIterator is interrupted
Accumulo's SortedMapIterator throws its non-public IterationInterruptedException
when the interrupt flag is set, not an IOException. Add a DataWave
IterationInterruptedException, unchecked like Accumulo's, so callers can catch
the interrupt and handle it, and throw it from next() and seek().
2026-11-09 10:19:00 -05:00
Seth da2b4cbea2 Check the SortedMapIterator interrupt flag every 100th call to next
Accumulo's SortedMapIterator, like NativeMap, only checks the interrupt flag on
every 100th call to next() because checking it on every call is costly. Restore
that, and make the interrupt flag and the new call counter private.
2026-11-09 10:17:56 -05:00
Seth f68f77eb67 Restore Accumulo's seek in SortedMapIterator
Seek to the tail map of the start key, then call next() while the top key is
before the range start, as Accumulo's SortedMapIterator does. Range.beforeStartKey
handles exclusive start keys, so the separate equality check goes away, and an
infinite start no longer skips an entry equal to new Key() when the range marks
its start as exclusive.
2026-11-09 10:16:27 -05:00
Seth 96a7477034 Merge integration into task/replace-sortedmapiterator
# Conflicts:
#	warehouse/query-core/src/test/java/datawave/query/tld/TLDFieldIndexAggregatorTest.java
#	warehouse/query-core/src/test/java/datawave/query/tld/TLDTermFrequencyAggregatorTest.java
2026-11-06 17:52:42 -05:00
Ivan Bella 7922ec97f7 Updated the default dateIndexHelper cache times from 24h to 15m (#4219) 2026-11-06 17:19:38 +00:00
Moriarty 4468cef0a4 Migrate JEXL nodes and lookup tests (#4206) 2026-11-06 16:16:49 +00:00
Moriarty 8547794dbc Migrate query function tests (#4207) 2026-11-06 16:01:45 +00:00
Moriarty 57b875d237 Migrate top level document tests (#4208) 2026-11-06 15:59:51 +00:00
Moriarty b6bc6fb750 Migrate query transformer tests (#4209) 2026-11-06 15:58:04 +00:00
Moriarty 3b9c0010a3 Migrate core iterator and audit tests (#4210) 2026-11-06 15:30:49 +00:00
Moriarty 31d46f084b Migrate query cardinality and metric tests (#4211) 2026-11-06 15:25:45 +00:00
Moriarty 5c55c91b90 Migrate query rewrite and range tests (#4212) 2026-11-06 15:11:02 +00:00
Moriarty caf3869e56 Migrate bulk ingest map file loader test (#4213) 2026-11-06 14:57:23 +00:00
Moriarty 5c4c6d2e9e Migrate reducer and context writer tests (#4198) 2026-11-06 08:07:21 +00:00
Seth 796468807b Make SortedMapIterator map final and drop unused IOException from init 2026-11-05 11:35:50 -05:00
Seth 2ea4225f2a Merge integration into task/replace-sortedmapiterator 2026-11-05 11:31:29 -05:00
Moriarty 69be54c47e Migrate JEXL content and term frequency function tests (#4200) 2026-11-05 02:45:01 +00:00
Moriarty 0a1f741f58 Migrate ingest job metrics tests (#4188) 2026-11-05 01:31:36 +00:00
Moriarty 83692c7ab2 Migrate ingest job StatsD tests (#4190) 2026-11-05 01:29:14 +00:00
alerman 2cdaaf17bc [maven-release-plugin] prepare for next development iteration 2026-11-04 21:50:40 +00:00
alerman 820188c3fe [maven-release-plugin] prepare release microservices/services/annotation/service-1.0.0 microservices/services/annotation/service-1.0.0 2026-11-04 21:50:37 +00:00
alerman 9c315bbd4b auto-update: update deps for microservices/services/annotation/service 2026-11-04 21:46:52 +00:00
alerman e88cf5cf39 [maven-release-plugin] prepare for next development iteration 2026-11-04 21:45:31 +00:00
alerman fc5d55a8c2 auto-update: update deps for microservices/services/annotation-cache/service 2026-11-04 21:45:08 +00:00
alerman 62add05cca [maven-release-plugin] prepare for next development iteration 2026-11-04 21:43:33 +00:00
alerman ae15b3248c auto-update: update deps for microservices/services/annotation/messaging 2026-11-04 21:43:12 +00:00
alerman bd59069a4d [maven-release-plugin] prepare for next development iteration 2026-11-04 21:41:42 +00:00
Moriarty 505d19986f Migrate shard reindex job tests (#4189) 2026-11-04 21:09:47 +00:00
Moriarty 42e5f91f20 Migrate Lucene language parser tests (#4199) 2026-11-04 20:30:33 +00:00
Moriarty f4d65055a5 Migrate JEXL language parser tests (#4203) 2026-11-04 15:49:13 +00:00
Moriarty d1f29757aa Migrate JEXL filter and geo function tests (#4201) 2026-11-04 15:48:19 +00:00
Moriarty bfe356733e Migrate query attribute tests (#4202) 2026-11-04 15:47:38 +00:00
Drew Farris 9e68bde151 Fixes properties in the annotation service pom (#4197) 2026-11-04 10:46:19 -05:00
Moriarty 212f6fddc9 Migrate remaining ingest job tests (#4187) 2026-11-04 01:52:28 +00:00
Moriarty 0eee3e52d2 Migrate query utility tests (#4191) 2026-11-04 01:35:15 +00:00
Moriarty a679061dfd Migrate index stream tests (#4192) 2026-11-04 01:12:15 +00:00
Moriarty d11bc86fcb Migrate index entry and range tests (#4193) 2026-11-04 01:04:37 +00:00
Moriarty 0a35b2b3aa Migrate query predicate tests (#4194) 2026-11-03 20:18:39 +00:00
Moriarty 8e0d1578d7 Migrate MapReduce partition tests (#4173) 2026-11-03 13:25:28 +00:00
Drew Farris 6f0780062e Add scm sections to the annotation api/messaging poms (#4184) 2026-11-03 08:23:50 -05:00
Moriarty bfb9ca5b42 Migrate sorted set tests (#4178) 2026-11-03 01:30:24 +00:00
Moriarty 3535acdf41 Migrate CB mutation output formatter test (#4174) 2026-11-03 01:12:23 +00:00
Moriarty 089df3741b Migrate file committer and table splits tests (#4175) 2026-11-02 20:30:15 +00:00
Moriarty 35ee59a9eb Migrate sorted map tests (#4177) 2026-11-02 19:52:17 +00:00
Mr. Patrickus AgbiusandClaude Opus 5.5 69a808496b Only release query cache lock when acquired (#4157)
Co-authored-by: Claude Opus 5.5 <[email protected]>
2026-11-02 19:36:50 +00:00
Drew Farris 94549d747d Update annotation-cache service to depend on v1.0.0 of the annotation-cache api 2026-11-02 14:25:42 -05:00
alerman 871211c08a [maven-release-plugin] prepare for next development iteration 2026-11-02 19:04:24 +00:00
alerman e02830b5c1 [maven-release-plugin] prepare release microservices/services/annotation-cache/api-1.0.0 microservices/services/annotation-cache/api-1.0.0 2026-11-02 19:04:18 +00:00
Drew Farris aedc15ee4f More annotation pom structure fixups prior to release (#4182) 2026-11-02 13:24:16 -05:00