[ 
https://issues.apache.org/jira/browse/CASSANDRA-11017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15119623#comment-15119623
 ] 

Benedict commented on CASSANDRA-11017:
--------------------------------------

Yes, looks like it hasn't been wired up.  It should be passing a timer context 
into the {{MemtableAllocator.SubAllocator}}'s {{parent.hasRoom().register()}} 
call, inside of {{allocate}}. 

It would require passing a reference to the histogram in the {{SubAllocator}} 
constructor, so that we can construct a timer context when necessary.

> WaitingOnFreeMemtableSpace metric does nothing
> ----------------------------------------------
>
>                 Key: CASSANDRA-11017
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11017
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Observability
>            Reporter: Chris Lohfink
>            Priority: Minor
>
> I think it was added in https://issues.apache.org/jira/browse/CASSANDRA-5549 
> but never actually used. I may be missing something though. Not sure where 
> this should be wired in or if it should just be removed?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to