You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ratis.apache.org by lj...@apache.org on 2020/06/22 06:35:19 UTC
[incubator-ratis] branch master updated: RATIS-978. Fix failed UT:
testAddNewFollowers.
This is an automated email from the ASF dual-hosted git repository.
ljain pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ratis.git
The following commit(s) were added to refs/heads/master by this push:
new 1024b33 RATIS-978. Fix failed UT: testAddNewFollowers.
1024b33 is described below
commit 1024b3382f7862d47527a85b77e4936249e4183c
Author: runzhiwang <51...@users.noreply.github.com>
AuthorDate: Mon Jun 22 12:04:59 2020 +0530
RATIS-978. Fix failed UT: testAddNewFollowers.
---
.../src/main/java/org/apache/ratis/grpc/server/GrpcLogAppender.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/ratis-grpc/src/main/java/org/apache/ratis/grpc/server/GrpcLogAppender.java b/ratis-grpc/src/main/java/org/apache/ratis/grpc/server/GrpcLogAppender.java
index d4d9535..4eb5cb9 100644
--- a/ratis-grpc/src/main/java/org/apache/ratis/grpc/server/GrpcLogAppender.java
+++ b/ratis-grpc/src/main/java/org/apache/ratis/grpc/server/GrpcLogAppender.java
@@ -362,9 +362,7 @@ public class GrpcLogAppender extends LogAppender {
void close() {
done.set(true);
- if (!isNotificationOnly) {
- GrpcLogAppender.this.notifyAppend();
- }
+ GrpcLogAppender.this.notifyAppend();
}
synchronized boolean hasAllResponse() {