You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ji...@apache.org on 2020/12/03 12:48:57 UTC
[iotdb] branch cluster_extract_application updated (9940bfe ->
0c3ab92)
This is an automated email from the ASF dual-hosted git repository.
jiangtian pushed a change to branch cluster_extract_application
in repository https://gitbox.apache.org/repos/asf/iotdb.git.
from 9940bfe add allowWeakWriteOrder fix timer when not using dispatcher
add d1b9e45 accelerate handling when the quorum fails
new 5990cf9 Merge branch 'cluster_new' into cluster_extract_application
new 0c3ab92 add log when entry is rejected
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../cluster/server/handlers/caller/AppendNodeEntryHandler.java | 9 ++++++++-
.../java/org/apache/iotdb/cluster/server/member/RaftMember.java | 5 ++++-
2 files changed, 12 insertions(+), 2 deletions(-)
[iotdb] 02/02: add log when entry is rejected
Posted by ji...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jiangtian pushed a commit to branch cluster_extract_application
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 0c3ab92e56a18b5e9f3de7ea8c82dc069391973d
Author: jt <jt...@163.com>
AuthorDate: Thu Dec 3 20:47:28 2020 +0800
add log when entry is rejected
---
.../main/java/org/apache/iotdb/cluster/server/member/RaftMember.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/cluster/src/main/java/org/apache/iotdb/cluster/server/member/RaftMember.java b/cluster/src/main/java/org/apache/iotdb/cluster/server/member/RaftMember.java
index 7e7cf69..5393328 100644
--- a/cluster/src/main/java/org/apache/iotdb/cluster/server/member/RaftMember.java
+++ b/cluster/src/main/java/org/apache/iotdb/cluster/server/member/RaftMember.java
@@ -1767,6 +1767,8 @@ public abstract class RaftMember {
resp = Response.RESPONSE_AGREE;
} else {
// the incoming log points to an illegal position, reject it
+ logger.info("{}: log {} is rejected, current progress: {}-{}", name, log,
+ logManager.getLastLogIndex(), logManager.getLastLogTerm());
resp = Response.RESPONSE_LOG_MISMATCH;
}
}
[iotdb] 01/02: Merge branch 'cluster_new' into
cluster_extract_application
Posted by ji...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jiangtian pushed a commit to branch cluster_extract_application
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 5990cf9d70fb9eccf0906ee6ed0f862460691c7b
Merge: 9940bfe d1b9e45
Author: jt <jt...@163.com>
AuthorDate: Thu Dec 3 20:38:08 2020 +0800
Merge branch 'cluster_new' into cluster_extract_application
.../cluster/server/handlers/caller/AppendNodeEntryHandler.java | 9 ++++++++-
.../java/org/apache/iotdb/cluster/server/member/RaftMember.java | 3 ++-
2 files changed, 10 insertions(+), 2 deletions(-)