This is an automated email from the ASF dual-hosted git repository.
jinrongtong pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git
The following commit(s) were added to refs/heads/develop by this push:
new 527704d96 [ISSUE #5413] Modify AutoSwitchHAClient currentReceivedEpoch
attribute long type to int
527704d96 is described below
commit 527704d96477eb2e8e15e953d9fb33ae4682b357
Author: mxsm <[email protected]>
AuthorDate: Mon Oct 31 10:46:53 2022 +0800
[ISSUE #5413] Modify AutoSwitchHAClient currentReceivedEpoch attribute long
type to int
---
.../org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAClient.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAClient.java
b/store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAClient.java
index 53903a1df..834da3b27 100644
---
a/store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAClient.java
+++
b/store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAClient.java
@@ -92,7 +92,7 @@ public class AutoSwitchHAClient extends ServiceThread
implements HAClient {
/**
* Current epoch
*/
- private volatile long currentReceivedEpoch;
+ private volatile int currentReceivedEpoch;
public AutoSwitchHAClient(AutoSwitchHAService haService,
DefaultMessageStore defaultMessageStore,
EpochFileCache epochCache) throws IOException {