You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2021/11/03 06:45:12 UTC

[GitHub] [iotdb] chengjianyun opened a new pull request #4309: Fix the bug that election in term n may increase to n+1 before send e…

chengjianyun opened a new pull request #4309:
URL: https://github.com/apache/iotdb/pull/4309


   The log shows behaviors like below in meta group:
   
   1. Node 09 run as follower in term 3.
   2. Node 09 heartbeat timeout in term 3.
   3. Node 09 update its term to 4
   4. Node 09 update `voteFor` to null
   5. Node 09 receive a election from Node 08 in term 4, accept the election, become follower of group in term 4.
   6. Node 09 continue to election. but term is 5.
   
   It's not right in the step 6 as Node 09 timed out in term 3, it only start the election for term 4 instead of term 5. I think the behavior isn't by design although system didn't run into some wrong status.
   
   Attach log.
   [meta.log](https://github.com/apache/iotdb/files/7465699/meta.log)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [iotdb] chengjianyun closed pull request #4309: Fix the bug that election in term n may increase to n+1 before send e…

Posted by GitBox <gi...@apache.org>.
chengjianyun closed pull request #4309:
URL: https://github.com/apache/iotdb/pull/4309


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [iotdb] chengjianyun closed pull request #4309: Fix the bug that election in term n may increase to n+1 before send e…

Posted by GitBox <gi...@apache.org>.
chengjianyun closed pull request #4309:
URL: https://github.com/apache/iotdb/pull/4309


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [iotdb] coveralls commented on pull request #4309: Fix the bug that election in term n may increase to n+1 before send e…

Posted by GitBox <gi...@apache.org>.
coveralls commented on pull request #4309:
URL: https://github.com/apache/iotdb/pull/4309#issuecomment-958711753


   
   [![Coverage Status](https://coveralls.io/builds/43973837/badge)](https://coveralls.io/builds/43973837)
   
   Coverage increased (+0.1%) to 67.087% when pulling **f13a6062b0355642da93449d6d165100b10465a8 on chengjianyun:jianyun/election-fix** into **b89cf91c0c78456349e869efb97411aa01e747b9 on apache:master**.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [iotdb] chengjianyun commented on pull request #4309: Fix the bug that election in term n may increase to n+1 before send e…

Posted by GitBox <gi...@apache.org>.
chengjianyun commented on pull request #4309:
URL: https://github.com/apache/iotdb/pull/4309#issuecomment-958857560


   Need more thinking, close temporary.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [iotdb] coveralls commented on pull request #4309: Fix the bug that election in term n may increase to n+1 before send e…

Posted by GitBox <gi...@apache.org>.
coveralls commented on pull request #4309:
URL: https://github.com/apache/iotdb/pull/4309#issuecomment-958711753


   
   [![Coverage Status](https://coveralls.io/builds/43973837/badge)](https://coveralls.io/builds/43973837)
   
   Coverage increased (+0.1%) to 67.087% when pulling **f13a6062b0355642da93449d6d165100b10465a8 on chengjianyun:jianyun/election-fix** into **b89cf91c0c78456349e869efb97411aa01e747b9 on apache:master**.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [iotdb] coveralls edited a comment on pull request #4309: Fix the bug that election in term n may increase to n+1 before send e…

Posted by GitBox <gi...@apache.org>.
coveralls edited a comment on pull request #4309:
URL: https://github.com/apache/iotdb/pull/4309#issuecomment-958711753


   
   [![Coverage Status](https://coveralls.io/builds/43976630/badge)](https://coveralls.io/builds/43976630)
   
   Coverage increased (+0.007%) to 67.092% when pulling **6b50f8e1c06c3609f22cbaecefb654c558fcfaf4 on chengjianyun:jianyun/election-fix** into **af8b3dc865435f3f99c5c2564ab0219496d9507d on apache:master**.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [iotdb] coveralls commented on pull request #4309: Fix the bug that election in term n may increase to n+1 before send e…

Posted by GitBox <gi...@apache.org>.
coveralls commented on pull request #4309:
URL: https://github.com/apache/iotdb/pull/4309#issuecomment-958711753






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [iotdb] coveralls edited a comment on pull request #4309: Fix the bug that election in term n may increase to n+1 before send e…

Posted by GitBox <gi...@apache.org>.
coveralls edited a comment on pull request #4309:
URL: https://github.com/apache/iotdb/pull/4309#issuecomment-958711753






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [iotdb] coveralls edited a comment on pull request #4309: Fix the bug that election in term n may increase to n+1 before send e…

Posted by GitBox <gi...@apache.org>.
coveralls edited a comment on pull request #4309:
URL: https://github.com/apache/iotdb/pull/4309#issuecomment-958711753


   
   [![Coverage Status](https://coveralls.io/builds/43976630/badge)](https://coveralls.io/builds/43976630)
   
   Coverage increased (+0.007%) to 67.092% when pulling **6b50f8e1c06c3609f22cbaecefb654c558fcfaf4 on chengjianyun:jianyun/election-fix** into **af8b3dc865435f3f99c5c2564ab0219496d9507d on apache:master**.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [iotdb] chengjianyun closed pull request #4309: Fix the bug that election in term n may increase to n+1 before send e…

Posted by GitBox <gi...@apache.org>.
chengjianyun closed pull request #4309:
URL: https://github.com/apache/iotdb/pull/4309


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [iotdb] chengjianyun commented on pull request #4309: Fix the bug that election in term n may increase to n+1 before send e…

Posted by GitBox <gi...@apache.org>.
chengjianyun commented on pull request #4309:
URL: https://github.com/apache/iotdb/pull/4309#issuecomment-958857560


   Need more thinking, close temporary.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [iotdb] chengjianyun commented on pull request #4309: Fix the bug that election in term n may increase to n+1 before send e…

Posted by GitBox <gi...@apache.org>.
chengjianyun commented on pull request #4309:
URL: https://github.com/apache/iotdb/pull/4309#issuecomment-958857560


   Need more thinking, close temporary.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [iotdb] chengjianyun commented on pull request #4309: Fix the bug that election in term n may increase to n+1 before send e…

Posted by GitBox <gi...@apache.org>.
chengjianyun commented on pull request #4309:
URL: https://github.com/apache/iotdb/pull/4309#issuecomment-958857560


   Need more thinking, close temporary.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [iotdb] chengjianyun closed pull request #4309: Fix the bug that election in term n may increase to n+1 before send e…

Posted by GitBox <gi...@apache.org>.
chengjianyun closed pull request #4309:
URL: https://github.com/apache/iotdb/pull/4309


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org