The renaming condition is only checked after each aggregation operation, so to test it one must ensure that aggregation is done twice.
Start a TEST12 instance as normal.
Killall jobs on kb-test-way-001.
Set the two maximum file sizes (maxIntermediateIndexFileSize and maxMainIndexFileSize) in the aggregator settings to "1". (ie 1Mb)
Restart the applications
Go to the step "Upload a Small Bitarchive" in TEST 12 but only upload arcfiles.
Wait for the indexer and aggregator to run and create an index in TEST12/indexDir
Now upload the warcfiles
Wait for the indexer and aggregator to run again.
There should now be a renamed index file with a timestamp in its name.
Description
The rollover naming strategy for cdx files makes backup and sync very difficult, so instead just give new index files a new unique name.