From 60abe29e648c86927ff75de51764f3323d25d032 Mon Sep 17 00:00:00 2001 From: Manish R Jain <manishrjain@gmail.com> Date: Wed, 9 Mar 2016 01:12:14 +0000 Subject: [PATCH] Change ratio of dirty PL processing to 7%, now that we can handle it easily via async writes. --- posting/lists.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/posting/lists.go b/posting/lists.go index f346141d..f4522c88 100644 --- a/posting/lists.go +++ b/posting/lists.go @@ -128,8 +128,8 @@ func gentlyMerge(mr *mergeRoutines) { ctr := NewCounters() defer ctr.ticker.Stop() - // Pick 5% of the dirty map or 400 keys, whichever is higher. - pick := int(float64(dirtymap.Size()) * 0.05) + // Pick 7% of the dirty map or 400 keys, whichever is higher. + pick := int(float64(dirtymap.Size()) * 0.07) if pick < 400 { pick = 400 } -- GitLab