Accumulo
  1. Accumulo
  2. ACCUMULO-2342

Proxy SimpleTest failures: might not see constraint updates

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.5.1, 1.6.0
    • Component/s: test
    • Labels:
      None

      Description

      Some failures in the tests with after removing a constraint and then sending mutations, and the mutations being incorrectly rejected.

      It appears that the tabletserver just didn't see the update yet (the TableConfWatcher must not have fully completed), and thus the ConfiguratorObserver wasn't triggered, and the Tablet's ConstraintChecker didn't get updated.

      Waiting a little bit should fix the test.

        Activity

        Hide
        ASF subversion and git services added a comment -

        Commit 6df83da60d594f66d147a479065ff51db73fb1a2 in accumulo's branch refs/heads/master from Josh Elser
        [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=6df83da ]

        ACCUMULO-2476, ACCUMULO-2342 Sleep after we modify a constraint. – cherry-picked d4b06999 back to 1.4

        Show
        ASF subversion and git services added a comment - Commit 6df83da60d594f66d147a479065ff51db73fb1a2 in accumulo's branch refs/heads/master from Josh Elser [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=6df83da ] ACCUMULO-2476 , ACCUMULO-2342 Sleep after we modify a constraint. – cherry-picked d4b06999 back to 1.4
        Hide
        ASF subversion and git services added a comment -

        Commit 6df83da60d594f66d147a479065ff51db73fb1a2 in accumulo's branch refs/heads/1.6.0-SNAPSHOT from Josh Elser
        [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=6df83da ]

        ACCUMULO-2476, ACCUMULO-2342 Sleep after we modify a constraint. – cherry-picked d4b06999 back to 1.4

        Show
        ASF subversion and git services added a comment - Commit 6df83da60d594f66d147a479065ff51db73fb1a2 in accumulo's branch refs/heads/1.6.0-SNAPSHOT from Josh Elser [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=6df83da ] ACCUMULO-2476 , ACCUMULO-2342 Sleep after we modify a constraint. – cherry-picked d4b06999 back to 1.4
        Hide
        ASF subversion and git services added a comment -

        Commit 6df83da60d594f66d147a479065ff51db73fb1a2 in accumulo's branch refs/heads/1.5.2-SNAPSHOT from Josh Elser
        [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=6df83da ]

        ACCUMULO-2476, ACCUMULO-2342 Sleep after we modify a constraint. – cherry-picked d4b06999 back to 1.4

        Show
        ASF subversion and git services added a comment - Commit 6df83da60d594f66d147a479065ff51db73fb1a2 in accumulo's branch refs/heads/1.5.2-SNAPSHOT from Josh Elser [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=6df83da ] ACCUMULO-2476 , ACCUMULO-2342 Sleep after we modify a constraint. – cherry-picked d4b06999 back to 1.4
        Hide
        ASF subversion and git services added a comment -

        Commit 6df83da60d594f66d147a479065ff51db73fb1a2 in accumulo's branch refs/heads/1.4.5-SNAPSHOT from Josh Elser
        [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=6df83da ]

        ACCUMULO-2476, ACCUMULO-2342 Sleep after we modify a constraint. – cherry-picked d4b06999 back to 1.4

        Show
        ASF subversion and git services added a comment - Commit 6df83da60d594f66d147a479065ff51db73fb1a2 in accumulo's branch refs/heads/1.4.5-SNAPSHOT from Josh Elser [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=6df83da ] ACCUMULO-2476 , ACCUMULO-2342 Sleep after we modify a constraint. – cherry-picked d4b06999 back to 1.4
        Josh Elser made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Josh Elser made changes -
        Field Original Value New Value
        Fix Version/s 1.6.0 [ 12322468 ]
        Hide
        ASF subversion and git services added a comment -

        Commit d4b06999694fc1238fad0a19fd6544520b44a620 in branch refs/heads/master from Josh Elser
        [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=d4b0699 ]

        ACCUMULO-2342 Sleep after we modify a constraint.

        We have to wait for the watcher on zk to trigger and propagate down to
        the constraint observer so that the mutations won't be incorrectly
        rejected and fail these unit tests.

        Show
        ASF subversion and git services added a comment - Commit d4b06999694fc1238fad0a19fd6544520b44a620 in branch refs/heads/master from Josh Elser [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=d4b0699 ] ACCUMULO-2342 Sleep after we modify a constraint. We have to wait for the watcher on zk to trigger and propagate down to the constraint observer so that the mutations won't be incorrectly rejected and fail these unit tests.
        Hide
        ASF subversion and git services added a comment -

        Commit d4b06999694fc1238fad0a19fd6544520b44a620 in branch refs/heads/1.6.0-SNAPSHOT from Josh Elser
        [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=d4b0699 ]

        ACCUMULO-2342 Sleep after we modify a constraint.

        We have to wait for the watcher on zk to trigger and propagate down to
        the constraint observer so that the mutations won't be incorrectly
        rejected and fail these unit tests.

        Show
        ASF subversion and git services added a comment - Commit d4b06999694fc1238fad0a19fd6544520b44a620 in branch refs/heads/1.6.0-SNAPSHOT from Josh Elser [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=d4b0699 ] ACCUMULO-2342 Sleep after we modify a constraint. We have to wait for the watcher on zk to trigger and propagate down to the constraint observer so that the mutations won't be incorrectly rejected and fail these unit tests.
        Hide
        ASF subversion and git services added a comment -

        Commit d4b06999694fc1238fad0a19fd6544520b44a620 in branch refs/heads/1.5.1-SNAPSHOT from Josh Elser
        [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=d4b0699 ]

        ACCUMULO-2342 Sleep after we modify a constraint.

        We have to wait for the watcher on zk to trigger and propagate down to
        the constraint observer so that the mutations won't be incorrectly
        rejected and fail these unit tests.

        Show
        ASF subversion and git services added a comment - Commit d4b06999694fc1238fad0a19fd6544520b44a620 in branch refs/heads/1.5.1-SNAPSHOT from Josh Elser [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=d4b0699 ] ACCUMULO-2342 Sleep after we modify a constraint. We have to wait for the watcher on zk to trigger and propagate down to the constraint observer so that the mutations won't be incorrectly rejected and fail these unit tests.
        Josh Elser created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development