You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Mike Percy (JIRA)" <ji...@apache.org> on 2017/08/31 00:29:00 UTC

[jira] [Created] (KUDU-2122) Clean up naming of InvalidOpId(), MinimumOpId(), etc

Mike Percy created KUDU-2122:
--------------------------------

             Summary: Clean up naming of InvalidOpId(), MinimumOpId(), etc
                 Key: KUDU-2122
                 URL: https://issues.apache.org/jira/browse/KUDU-2122
             Project: Kudu
          Issue Type: Bug
          Components: consensus
    Affects Versions: 1.5.0
            Reporter: Mike Percy
            Assignee: Mike Percy
            Priority: Trivial


We have some aliases in opid_util.h/cc called MinimumOpId() and InvalidOpId() that are poorly named. We should consider changing InvalidOpId() to (0,0) and MinimumOpId() to (1,0) or something similar to reflect how we use those values today. Or come up with better naming. The actual, operational minimum OpId that can appear in a WAL is (1,1).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)