Set number of copycat log compactor threads to 1
Change-Id: If8bc3e2ae17757d564355e4ef51d6b2f398d4bbd
Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -116,6 +116,7 @@ public class StoragePartitionServer implements Managed<StoragePartitionServer> { | ... | @@ -116,6 +116,7 @@ public class StoragePartitionServer implements Managed<StoragePartitionServer> { |
116 | .withStorage(Storage.builder() | 116 | .withStorage(Storage.builder() |
117 | // FIXME: StorageLevel should be DISK | 117 | // FIXME: StorageLevel should be DISK |
118 | .withStorageLevel(StorageLevel.MEMORY) | 118 | .withStorageLevel(StorageLevel.MEMORY) |
119 | + .withCompactionThreads(1) | ||
119 | .withDirectory(dataFolder) | 120 | .withDirectory(dataFolder) |
120 | .withMaxEntriesPerSegment(MAX_ENTRIES_PER_LOG_SEGMENT) | 121 | .withMaxEntriesPerSegment(MAX_ENTRIES_PER_LOG_SEGMENT) |
121 | .build()) | 122 | .build()) | ... | ... |
-
Please register or login to post a comment