[jira] [Updated] (CASSANDRA-14628) Clean up cache-related metrics

2018-08-23 Thread Aleksey Yeschenko (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-14628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aleksey Yeschenko updated CASSANDRA-14628:
--
Resolution: Fixed
Status: Resolved  (was: Patch Available)

> Clean up cache-related metrics
> --
>
> Key: CASSANDRA-14628
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14628
> Project: Cassandra
>  Issue Type: Improvement
>Reporter: Aleksey Yeschenko
>Assignee: Aleksey Yeschenko
>Priority: Minor
>  Labels: virtual-tables
> Fix For: 4.0
>
>
> {{ChunkCache}} added {{CacheMissMetrics}} which is an almost exact duplicate 
> of pre-existing {{CacheMetrics}}. I believe it was done initially because the 
> authors thought there was no way to register hits with {{Caffeine}}, only 
> misses, but that's not quite true. All we need is to provide a 
> {{StatsCounter}} object when building the cache and update our metrics from 
> there.
> The patch removes the redundant code and streamlines chunk cache metrics to 
> use more idiomatic tracking.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-14628) Clean up cache-related metrics

2018-08-23 Thread Aleksey Yeschenko (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-14628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aleksey Yeschenko updated CASSANDRA-14628:
--
Reviewers: Benedict, Marcus Eriksson
 Reviewer:   (was: Benedict)

> Clean up cache-related metrics
> --
>
> Key: CASSANDRA-14628
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14628
> Project: Cassandra
>  Issue Type: Improvement
>Reporter: Aleksey Yeschenko
>Assignee: Aleksey Yeschenko
>Priority: Minor
>  Labels: virtual-tables
> Fix For: 4.0
>
>
> {{ChunkCache}} added {{CacheMissMetrics}} which is an almost exact duplicate 
> of pre-existing {{CacheMetrics}}. I believe it was done initially because the 
> authors thought there was no way to register hits with {{Caffeine}}, only 
> misses, but that's not quite true. All we need is to provide a 
> {{StatsCounter}} object when building the cache and update our metrics from 
> there.
> The patch removes the redundant code and streamlines chunk cache metrics to 
> use more idiomatic tracking.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-14628) Clean up cache-related metrics

2018-08-23 Thread Aleksey Yeschenko (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-14628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aleksey Yeschenko updated CASSANDRA-14628:
--
Status: Patch Available  (was: Reopened)

> Clean up cache-related metrics
> --
>
> Key: CASSANDRA-14628
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14628
> Project: Cassandra
>  Issue Type: Improvement
>Reporter: Aleksey Yeschenko
>Assignee: Aleksey Yeschenko
>Priority: Minor
>  Labels: virtual-tables
> Fix For: 4.0
>
>
> {{ChunkCache}} added {{CacheMissMetrics}} which is an almost exact duplicate 
> of pre-existing {{CacheMetrics}}. I believe it was done initially because the 
> authors thought there was no way to register hits with {{Caffeine}}, only 
> misses, but that's not quite true. All we need is to provide a 
> {{StatsCounter}} object when building the cache and update our metrics from 
> there.
> The patch removes the redundant code and streamlines chunk cache metrics to 
> use more idiomatic tracking.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-14628) Clean up cache-related metrics

2018-08-21 Thread Aleksey Yeschenko (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-14628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aleksey Yeschenko updated CASSANDRA-14628:
--
Resolution: Fixed
Status: Resolved  (was: Patch Available)

> Clean up cache-related metrics
> --
>
> Key: CASSANDRA-14628
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14628
> Project: Cassandra
>  Issue Type: Improvement
>Reporter: Aleksey Yeschenko
>Assignee: Aleksey Yeschenko
>Priority: Minor
>  Labels: virtual-tables
> Fix For: 4.0
>
>
> {{ChunkCache}} added {{CacheMissMetrics}} which is an almost exact duplicate 
> of pre-existing {{CacheMetrics}}. I believe it was done initially because the 
> authors thought there was no way to register hits with {{Caffeine}}, only 
> misses, but that's not quite true. All we need is to provide a 
> {{StatsCounter}} object when building the cache and update our metrics from 
> there.
> The patch removes the redundant code and streamlines chunk cache metrics to 
> use more idiomatic tracking.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-14628) Clean up cache-related metrics

2018-08-08 Thread Aleksey Yeschenko (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-14628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aleksey Yeschenko updated CASSANDRA-14628:
--
Reviewer: Benedict
  Status: Patch Available  (was: Open)

> Clean up cache-related metrics
> --
>
> Key: CASSANDRA-14628
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14628
> Project: Cassandra
>  Issue Type: Improvement
>Reporter: Aleksey Yeschenko
>Assignee: Aleksey Yeschenko
>Priority: Minor
>  Labels: virtual-tables
> Fix For: 4.0
>
>
> {{ChunkCache}} added {{CacheMissMetrics}} which is an almost exact duplicate 
> of pre-existing {{CacheMetrics}}. I believe it was done initially because the 
> authors thought there was no way to register hits with {{Caffeine}}, only 
> misses, but that's not quite true. All we need is to provide a 
> {{StatsCounter}} object when building the cache and update our metrics from 
> there.
> The patch removes the redundant code and streamlines chunk cache metrics to 
> use more idiomatic tracking.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-14628) Clean up cache-related metrics

2018-08-08 Thread Jeremy Hanna (JIRA)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-14628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeremy Hanna updated CASSANDRA-14628:
-
Labels: virtual-tables  (was: )

> Clean up cache-related metrics
> --
>
> Key: CASSANDRA-14628
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14628
> Project: Cassandra
>  Issue Type: Improvement
>Reporter: Aleksey Yeschenko
>Assignee: Aleksey Yeschenko
>Priority: Minor
>  Labels: virtual-tables
> Fix For: 4.0
>
>
> {{ChunkCache}} added {{CacheMissMetrics}} which is an almost exact duplicate 
> of pre-existing {{CacheMetrics}}. I believe it was done initially because the 
> authors thought there was no way to register hits with {{Caffeine}}, only 
> misses, but that's not quite true. All we need is to provide a 
> {{StatsCounter}} object when building the cache and update our metrics from 
> there.
> The patch removes the redundant code and streamlines chunk cache metrics to 
> use more idiomatic tracking.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org