[jira] [Updated] (ZOOKEEPER-1387) Wrong epoch file created
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Hunt updated ZOOKEEPER-1387: Attachment: ZOOKEEPER-1387_br34.patch updated patch for br34 to compile/pass testing. > Wrong epoch file created > > > Key: ZOOKEEPER-1387 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1387 > Project: ZooKeeper > Issue Type: Bug > Components: quorum >Affects Versions: 3.4.2 >Reporter: Benjamin Busjaeger >Assignee: Benjamin Reed >Priority: Minor > Fix For: 3.4.6 > > Attachments: ZOOKEEPER-1387_br34.patch, ZOOKEEPER-1387.patch > > > It looks like line 443 in QuorumPeer [1] may need to change from: > writeLongToFile(CURRENT_EPOCH_FILENAME, acceptedEpoch); > to > writeLongToFile(ACCEPTED_EPOCH_FILENAME, acceptedEpoch); > I only noticed this reading the code, so I may be wrong and I don't know yet > if/how this affects the runtime. > [1] > https://github.com/apache/zookeeper/blob/trunk/src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java#L443 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (ZOOKEEPER-1387) Wrong epoch file created
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mahadev konar updated ZOOKEEPER-1387: - Fix Version/s: (was: 3.4.4) 3.4.5 Moving it out since its not a blocker. > Wrong epoch file created > > > Key: ZOOKEEPER-1387 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1387 > Project: ZooKeeper > Issue Type: Bug > Components: quorum >Affects Versions: 3.4.2 >Reporter: Benjamin Busjaeger >Assignee: Benjamin Reed >Priority: Minor > Fix For: 3.5.0, 3.4.5 > > Attachments: ZOOKEEPER-1387.patch > > > It looks like line 443 in QuorumPeer [1] may need to change from: > writeLongToFile(CURRENT_EPOCH_FILENAME, acceptedEpoch); > to > writeLongToFile(ACCEPTED_EPOCH_FILENAME, acceptedEpoch); > I only noticed this reading the code, so I may be wrong and I don't know yet > if/how this affects the runtime. > [1] > https://github.com/apache/zookeeper/blob/trunk/src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java#L443 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (ZOOKEEPER-1387) Wrong epoch file created
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Reed updated ZOOKEEPER-1387: - Attachment: ZOOKEEPER-1387.patch then makes the change proposed by benjamin and includes a test > Wrong epoch file created > > > Key: ZOOKEEPER-1387 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1387 > Project: ZooKeeper > Issue Type: Bug > Components: quorum >Affects Versions: 3.4.2 >Reporter: Benjamin Busjaeger >Priority: Minor > Attachments: ZOOKEEPER-1387.patch > > > It looks like line 443 in QuorumPeer [1] may need to change from: > writeLongToFile(CURRENT_EPOCH_FILENAME, acceptedEpoch); > to > writeLongToFile(ACCEPTED_EPOCH_FILENAME, acceptedEpoch); > I only noticed this reading the code, so I may be wrong and I don't know yet > if/how this affects the runtime. > [1] > https://github.com/apache/zookeeper/blob/trunk/src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java#L443 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira