maedhroz commented on code in PR #2498:
URL: https://github.com/apache/cassandra/pull/2498#discussion_r1270108366


##########
src/java/org/apache/cassandra/index/sai/disk/v1/segment/SegmentBuilder.java:
##########
@@ -161,18 +154,13 @@ private void copyBufferToBytesRef(ByteBuffer buffer, 
BytesRefBuilder stringBuffe
         }
     }
 
-    public static int getActiveBuilderCount()
-    {
-        return ACTIVE_BUILDER_COUNT.get();
-    }
-
-    private SegmentBuilder(AbstractType<?> termComparator, NamedMemoryLimiter 
limiter)
+    private SegmentBuilder(AbstractType<?> termComparator)
     {
         this.termComparator = termComparator;
-        this.limiter = limiter;
+//        this.limiter = limiter;

Review Comment:
   TODO: cleanup, depending on how we finalize the structure of the limiter 
class/singleton



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to