From 6b9b03ad3ea7cbf963664fdc5fa93d8947c8b7a9 Mon Sep 17 00:00:00 2001 From: Richard Artoul Date: Thu, 26 Sep 2019 16:37:56 -0400 Subject: [PATCH] use right variable; --- src/dbnode/client/session.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dbnode/client/session.go b/src/dbnode/client/session.go index 07ed9aa535..83104f7e66 100644 --- a/src/dbnode/client/session.go +++ b/src/dbnode/client/session.go @@ -1472,7 +1472,7 @@ func (s *session) fetchIDsAttempt( consistencyLevel = s.state.readLevel majority = int32(s.state.majority) - numReplicas = int32(s.state.majority) + numReplicas = int32(s.state.replicas) // NB(prateek): namespaceAccessors tracks the number of pending accessors for nsID. // It is set to incremented by `replica` for each requested ID during fetch enqueuing,