[patches] [PATCH vshard 2/5] router: print 'Discovering bucket' under verbose log level

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Fri Mar 2 00:39:38 MSK 2018


When bucket count is big, or one bucket is unavailable, then this
message clogs the log.

Signed-off-by: Vladislav Shpilevoy <v.shpilevoy at tarantool.org>
---
 vshard/router/init.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vshard/router/init.lua b/vshard/router/init.lua
index eb12edf..a956369 100644
--- a/vshard/router/init.lua
+++ b/vshard/router/init.lua
@@ -66,7 +66,7 @@ local function bucket_discovery(bucket_id)
         return replicaset
     end
 
-    log.info("Discovering bucket %d", bucket_id)
+    log.verbose("Discovering bucket %d", bucket_id)
     local unreachable_uuid = nil
     local is_transfer_in_progress = false
     for _, replicaset in pairs(M.replicasets) do
-- 
2.14.3 (Apple Git-98)




More information about the Tarantool-patches mailing list