You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Ziting Shen (Jira)" <ji...@apache.org> on 2021/02/04 18:34:00 UTC
[jira] [Closed] (SAMZA-2563) InMemoryKeyValueStore double counts
deletes in metrics
[ https://issues.apache.org/jira/browse/SAMZA-2563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ziting Shen closed SAMZA-2563.
------------------------------
> InMemoryKeyValueStore double counts deletes in metrics
> ------------------------------------------------------
>
> Key: SAMZA-2563
> URL: https://issues.apache.org/jira/browse/SAMZA-2563
> Project: Samza
> Issue Type: Bug
> Reporter: Cameron Lee
> Assignee: Ziting Shen
> Priority: Major
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> InMemoryKeyValueStore.delete is implemented by calling InMemoryKeyValueStore.put with a null value.
> InMemoryKeyValueStore.delete explicitly increments the delete metric. InMemoryKeyValueStore.put also explicitly increments the delete metric when passed a null value.
> Therefore, calling InMemoryKeyValueStore.delete will double count the deletes in metrics.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)