You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Rushabh Shah (Jira)" <ji...@apache.org> on 2020/07/30 00:06:00 UTC

[jira] [Created] (PHOENIX-6052) GLOBAL_MUTATION_COMMIT_TIME metric doesn't include the time spent in syscat rpc's

Rushabh Shah created PHOENIX-6052:
-------------------------------------

             Summary: GLOBAL_MUTATION_COMMIT_TIME metric doesn't include the time spent in syscat rpc's
                 Key: PHOENIX-6052
                 URL: https://issues.apache.org/jira/browse/PHOENIX-6052
             Project: Phoenix
          Issue Type: Bug
          Components: core
    Affects Versions: 4.14.3
            Reporter: Rushabh Shah


Currently we measure the metric GLOBAL_MUTATION_COMMIT_TIME as the time spent just in htable.batch rpc for base and index tables. https://github.com/apache/phoenix/blob/master/phoenix-core/src/main/java/org/apache/phoenix/execute/MutationState.java#L1029-L1136

We don't measure the time spent in MutationState#validateAndGetServerTimestamp which makes rpc to SYSTEM.CATALOG table and which is a part of commit phase.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)