This is an automated email from the ASF dual-hosted git repository.
yuyuankang pushed a commit to branch cluster_receiver_wait
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
The following commit(s) were added to refs/heads/cluster_receiver_wait by this
push:
new 163d2de IndexOutOfBoundsException
new 9c00c3a Merge branch 'cluster_receiver_wait' of
https://github.com/apache/incubator-iotdb into cluster_receiver_wait
163d2de is described below
commit 163d2de35db2b74ec1668110b2fddbf27a5af8a5
Author: Ring-k <[email protected]>
AuthorDate: Fri Aug 28 14:39:48 2020 +0800
IndexOutOfBoundsException
---
.../org/apache/iotdb/cluster/log/manage/UnCommittedEntryManager.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/cluster/src/main/java/org/apache/iotdb/cluster/log/manage/UnCommittedEntryManager.java
b/cluster/src/main/java/org/apache/iotdb/cluster/log/manage/UnCommittedEntryManager.java
index 2f59faa..f761d87 100644
---
a/cluster/src/main/java/org/apache/iotdb/cluster/log/manage/UnCommittedEntryManager.java
+++
b/cluster/src/main/java/org/apache/iotdb/cluster/log/manage/UnCommittedEntryManager.java
@@ -90,7 +90,7 @@ public class UnCommittedEntryManager {
// TODO-Cluster: improve concurrent safety
try {
log = entries.get(entryPos);
- } catch (ArrayIndexOutOfBoundsException e) {
+ } catch (IndexOutOfBoundsException e) {
return -1;
}
if (log.getCurrLogIndex() != index) {