Merge pull request #23563 from nick-nachos/wip-21677-leveldbJournalCompaction

Added journal compaction behavior for LevelDB #21677
This commit is contained in:
Patrik Nordwall 2017-09-28 12:34:18 +02:00 committed by GitHub
commit f85a124a17
10 changed files with 459 additions and 4 deletions

View file

@ -47,6 +47,18 @@ object PersistencePluginDocSpec {
//#native-config
akka.persistence.journal.leveldb.native = off
//#native-config
//#compaction-intervals-config
# Number of deleted messages per persistence id that will trigger journal compaction
akka.persistence.journal.leveldb.compaction-intervals {
persistence-id-1 = 100
persistence-id-2 = 200
# ...
persistence-id-N = 1000
# use wildcards to match unspecified persistence ids, if any
"*" = 250
}
//#compaction-intervals-config
"""
}