Accumulo
  1. Accumulo
  2. ACCUMULO-802 table namespaces
  3. ACCUMULO-1966

Clone table has race condition when excluding namespace properties

    Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Component/s: client, master, tserver
    • Labels:
      None

      Description

      Found on ReviewBoard for ACCUMULO-802:

      The clone method excludes properties which are unique to namespaces with a getUniqueNamespaceProperties() method.

      1. I'm not sure it should be doing this at all (should a clone have the same behavior, plus any additional configuration not overridden by the table, when it appears in the new namespace, or should it only clone the properties that distinguish it from the namespace it was previously in?)
      2. It could suffer from race conditions, because it is checking on the client side.

      (Creating this ticket, so I can close the ReviewBoard one).

        Activity

        Hide
        Christopher Tubbs added a comment -

        I believe I fixed this with a commit against ACCUMULO-1965. The relevant client-side code was removed, and relies on the server-side copy of the source table's config.

        Show
        Christopher Tubbs added a comment - I believe I fixed this with a commit against ACCUMULO-1965 . The relevant client-side code was removed, and relies on the server-side copy of the source table's config.

          People

          • Assignee:
            Christopher Tubbs
            Reporter:
            Christopher Tubbs
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development