cleanupOrphaned should not need remote metadata refresh if metadata exists

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 2.6.0-rc0
    • Affects Version/s: 2.5.4
    • Component/s: Logging, Sharding
    • None
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      By design, we should be able to safely clean up orphaned data using only local information (unless we are not sure if we're a shard or not). Keep thing simple by only refreshing if our local information is unset (i.e. needMetadataFor() is false).

      Previously was a ticket tracking error messages:

      "failed to refresh shard metadata: cannot refresh metadata for foo.bar before shard name has been set"

            Assignee:
            Randolph Tan
            Reporter:
            Matt Dannenberg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: