[ https://issues.apache.org/jira/browse/ASTERIXDB-2520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16769886#comment-16769886 ]
ASF subversion and git services commented on ASTERIXDB-2520: ------------------------------------------------------------ Commit 527f141358ed36493b51d74a0516870131e077d8 in asterixdb's branch refs/heads/master from Murtadha Makki Al Hubail [ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=527f141 ] [ASTERIXDB-2520][RT] Make Dataset Memory Reservation Idempotent - user model changes: no - storage format changes: no - interface changes: no Details: - Ensure thread-safety of metadata node takeover. - To account for multiple failures of metadata node, make dataset memory reservation idempotent. Change-Id: I360226187e176ce3a0ccdcd7a1b611a01d906394 Reviewed-on: https://asterix-gerrit.ics.uci.edu/3207 Sonar-Qube: Jenkins <jenk...@fulliautomatix.ics.uci.edu> Reviewed-by: Michael Blow <mb...@apache.org> Integration-Tests: Jenkins <jenk...@fulliautomatix.ics.uci.edu> Tested-by: Jenkins <jenk...@fulliautomatix.ics.uci.edu> > Intermittent failure in replication: flushed_component test > ----------------------------------------------------------- > > Key: ASTERIXDB-2520 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-2520 > Project: Apache AsterixDB > Issue Type: Bug > Components: REPL - Replication > Affects Versions: 0.9.4 > Reporter: Murtadha Hubail > Assignee: Murtadha Hubail > Priority: Major > Fix For: 0.9.5 > > Attachments: info.log.gz > > > The test is intermittently failing with: > {noformat} > 16:35:01.065 [Executor-10:asterix_nc1] ERROR > org.apache.asterix.app.replication.message.MetadataNodeRequestMessage - > Failed taking over metadata > org.apache.asterix.common.exceptions.MetadataException: Memory is already > reserved for dataset: 1 at > org.apache.asterix.metadata.bootstrap.MetadataBootstrap.startUniverse(MetadataBootstrap.java:182) > ~[asterix-metadata-0.9.5-SNAPSHOT.jar:0.9.5-SNAPSHOT] at > org.apache.asterix.app.nc.NCAppRuntimeContext.initializeMetadata(NCAppRuntimeContext.java:432) > ~[classes/:?] at > org.apache.asterix.app.replication.message.MetadataNodeRequestMessage.handle(MetadataNodeRequestMessage.java:51) > [classes/:?] at > org.apache.asterix.messaging.NCMessageBroker.lambda$receivedMessage$0(NCMessageBroker.java:100) > [classes/:?] > {noformat} > Logs attached. > -- This message was sent by Atlassian JIRA (v7.6.3#76005)