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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Incomplete
    • None
    • None
    • replication
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: