[ https://issues.apache.org/jira/browse/RATIS-789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Attila Doroszlai reassigned RATIS-789: -------------------------------------- Assignee: Attila Doroszlai > ConcurrentModification in MetricsRegistriesImpl > ----------------------------------------------- > > Key: RATIS-789 > URL: https://issues.apache.org/jira/browse/RATIS-789 > Project: Ratis > Issue Type: Bug > Components: metrics > Reporter: Attila Doroszlai > Assignee: Attila Doroszlai > Priority: Major > Attachments: RATIS-789.001.patch > > > {code} > java.util.ConcurrentModificationException > at java.util.ArrayList.forEach(ArrayList.java:1260) > at > org.apache.ratis.metrics.impl.MetricRegistriesImpl.lambda$create$1(MetricRegistriesImpl.java:66) > at > org.apache.ratis.metrics.impl.RefCountingMap.lambda$put$0(RefCountingMap.java:51) > at > java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1853) > at > org.apache.ratis.metrics.impl.RefCountingMap.put(RefCountingMap.java:46) > at > org.apache.ratis.metrics.impl.MetricRegistriesImpl.create(MetricRegistriesImpl.java:59) > at > org.apache.ratis.server.metrics.RatisMetrics.create(RatisMetrics.java:45) > at > org.apache.ratis.server.metrics.RatisMetrics.getMetricRegistryForLogAppender(RatisMetrics.java:82) > at > org.apache.ratis.server.metrics.LogAppenderMetrics.<init>(LogAppenderMetrics.java:32) > at org.apache.ratis.server.impl.LeaderState.<init>(LeaderState.java:221) > at > org.apache.ratis.server.impl.RoleInfo.startLeaderState(RoleInfo.java:94) > at > org.apache.ratis.server.impl.RaftServerImpl.changeToLeader(RaftServerImpl.java:348) > at > org.apache.ratis.server.impl.LeaderElection.askForVotes(LeaderElection.java:238) > at > org.apache.ratis.server.impl.LeaderElection.run(LeaderElection.java:161) > {code} > (RATIS-788 has more details, if needed) -- This message was sent by Atlassian Jira (v8.3.4#803005)