(OP's coworker here).
It appears that the problem persists. The incremental backup is turned on and working. The .ravendb-incremental-dump files appear in the backup directory as scheduled (every 2 hours). However, the .journal files are not removed even after heavy import (hundreds of thousands of documents, 2 GB worth of new .journal files).
Server Build #30140
Client Build #30140
The database has Replication and Periodic Export bundles enabled.
The replication is currently disabled.
Rough timeline:
2016-05-12: incremental backup performed, original question asked, later the .journal files got removed. Several new journal files were created (small import, these files are 65 MB in size)
2016-05-18: largish import, 196 journal files (10.9 GB)
2016-05-19: another import, 127 journal files (7.31 GB)
2016-05-20 (today): latest import, 43 journal files (2.12 GB). This import (and at least one of the previous ones) failed with ScratchBufferSizeLimitException (will post separate question shortly)
2016-05-20 10:17: imported 30k documents (replaced existing documents), 8 journal files (25.6 MB)
2016-05-20 10:18: changed the incremental backup interval to 10 minutes
All the time, incremental backup was running and the backup files were being created. I can provide the full file list if that's relevant.
The latest backup files (times are UTC).
-a--- 5/20/2016 6:27 AM 741 2016-05-20-06-27-0.ravendb-incremental-dump
-a--- 5/20/2016 8:27 AM 744 2016-05-20-08-27-0.ravendb-incremental-dump
-a--- 5/20/2016 9:53 AM 155701533 2016-05-20-09-41-0.ravendb-incremental-dump
-a--- 5/20/2016 9:59 AM 96791980 2016-05-20-09-59-0.ravendb-incremental-dump
-a--- 5/20/2016 10:18 AM 2593509 2016-05-20-10-18-0.ravendb-incremental-dump
-a--- 5/20/2016 10:18 AM 2594243 2016-05-20-10-18-1.ravendb-incremental-dump
However, the journal files are still present:
-a--- 5/12/2016 11:30 AM 65536 0000000000000000000.journal
-a--- 5/12/2016 11:30 AM 778240 0000000000000000001.journal
-a--- 5/12/2016 11:30 AM 262144 0000000000000000002.journal
...
-a--- 5/20/2016 9:59 AM 67108864 0000000000000000391.journal
-a--- 5/20/2016 9:59 AM 67108864 0000000000000000392.journal
-a--- 5/20/2016 9:59 AM 67108864 0000000000000000393.journal
The journal files from the latest import:
-a--- 5/20/2016 10:18 AM 1048576 0000000000000000394.journal
-a--- 5/20/2016 10:18 AM 131072 0000000000000000395.journal
-a--- 5/20/2016 10:18 AM 1028096 0000000000000000396.journal
-a--- 5/20/2016 10:18 AM 524288 0000000000000000397.journal
-a--- 5/20/2016 10:18 AM 1056768 0000000000000000398.journal
-a--- 5/20/2016 10:18 AM 2097152 0000000000000000399.journal
-a--- 5/20/2016 10:18 AM 4194304 0000000000000000400.journal
-a--- 5/20/2016 10:18 AM 16777216 0000000000000000402.journal
There were long periods of inactivity in that interval, so the database had a chance to flush everything to disk etc.
Is there something that I'm doing wrong?
Thanks
Andrej