[
https://issues.apache.org/jira/browse/ACCUMULO-4389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16540128#comment-16540128
]
Josh Elser commented on ACCUMULO-4389:
--------------------------------------
(going off of memory but...) unless someone has gone digging/fixing in
ReplicationOperationsImpl, I'm pretty sure the method is still busted (despite
what the test passing/failing says). There was a code-logic bug that was just
obviously wrong.
> ReplicationOperations().drain(..) may return too quickly
> --------------------------------------------------------
>
> Key: ACCUMULO-4389
> URL: https://issues.apache.org/jira/browse/ACCUMULO-4389
> Project: Accumulo
> Issue Type: Bug
> Components: replication
> Reporter: Josh Elser
> Assignee: Josh Elser
> Priority: Critical
> Fix For: 2.0.0
>
>
> Was taking a look at some logs from automated tests that [~romil.choksi] sent
> my way and noticed that MultiInstanceReplicationIT was failing infrequently.
> Looking at the output, I can see that the call was returning very quickly
> (essentially in the amount of time the RPC would take on the slow test
> hardware)
> {noformat}
> Drain completed in 25ms
> {noformat}
> Looking at the implementation of
> {{MasterClientServiceHandler.drainReplicationTable(...)}}, it's not handling
> the references we read from the metadata table correctly. I believe this is
> causing the test to return too quickly.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)