Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.7, 2.7.1, 2.7.2, 2.8, 2.8.1, 2.9, 2.9.1, 2.9.2, 2.10
-
Yes
-
Sprint 29, Sprint 30
Description
The "purge" operation of Timeline in NX2 calculates wrongly the "days" parameter, making the "window" much bigger then parametrised (taking it's square more precisely). The persist part does the purge well, but the Lucene index will contain way more records than it should.
After persistor is invoked with "days" to purge, indexes – that uses millis instead of days as input parameter – is invoked like this:
indexer.purge(0l, System.currentTimeMillis() - (days * TimeUnit.DAYS.toMillis(days)), null, null);
Attachments
Issue Links
- causes
-
NEXUS-8276 NullPointerException during Purge Timeline task
-
- Closed
-