Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-4389

ReplicationOperations().drain(..) may return too quickly

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: replication
    • Labels:
      None

      Description

      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)

      Drain completed in 25ms
      

      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.

        Attachments

          Activity

            People

            • Assignee:
              elserj Josh Elser
              Reporter:
              elserj Josh Elser
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: