Commit 525a0ae
authored
Limit number of compactions (#1380)
Run compaction for a limited number of attempts since leveldb does not
signal in any way that it failed to compact, and we may try to compact
indefinitely.
Relates-To: OLPSUP-22147
Signed-off-by: Andrey Kashcheev <ext-andrey.kashcheev@here.com>1 parent e59acd9 commit 525a0ae
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
| 182 | + | |
181 | 183 | | |
182 | 184 | | |
183 | | - | |
| 185 | + | |
| 186 | + | |
184 | 187 | | |
185 | 188 | | |
186 | 189 | | |
| |||
0 commit comments