-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompaction.cfg
32 lines (26 loc) · 1 KB
/
compaction.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
CONSTANTS
MessageSentLimit = 3,
CompactionTimesLimit = 3,
ModelConsumer = FALSE,
ConsumeTimesLimit = 2,
KeySpace = {"key1", "key2"},
ValueSpace = {1, 2},
RetainNullKey = TRUE,
MaxCrashTimes = 1,
ModelProducer = FALSE
CONSTANTS
Nil = Nil,
Compactor_In_PhaseOne = Compactor_In_PhaseOne,
Compactor_In_PhaseTwoWrite = Compactor_In_PhaseTwoWrite,
Compactor_In_PhaseTwoUpdateContext = Compactor_In_PhaseTwoUpdateContext,
Compactor_In_PhaseTwoUpdateHorizon = Compactor_In_PhaseTwoUpdateHorizon,
Compactor_In_PhaseTwoPersistCusror = Compactor_In_PhaseTwoPersistCusror,
Compactor_In_PhaseTwoDeleteLedger = Compactor_In_PhaseTwoDeleteLedger
SPECIFICATION Spec
INVARIANTS
TypeSafe,
\* we can use this invariant to reproduce the ledger leak bug, which is not fixed yet
\* CompactedLedgerLeak,
CompactionHorizonCorrectness,
\* we can use this invariant to reproduce the message duplication bug, which is not fixed yet
\* DuplicateNullKeyMessage