You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Cameron Lee (Jira)" <ji...@apache.org> on 2020/07/27 17:54:00 UTC

[jira] [Created] (SAMZA-2563) InMemoryKeyValueStore double counts deletes in metrics

Cameron Lee created SAMZA-2563:
----------------------------------

             Summary: 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


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)