Add whitelist of errors that will not be retried on rename collection path

XMLWordPrintableJSON

    • Fully Compatible
    • v5.0
    • Sharding EMEA 2021-05-31
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When executing a rename collection, there are some expected errors where we don't want them to be retried, so the idea is to encapsulate the exception somehow to have something like the following:

      try {
          ...<code> ...
      } catch (const ExpectedException& ex) {
          throw NonRetriableException(ex);
      }
      

      This way we have a declarative way to tell the DDL coordinator will not retry this time because it is an expected error.

              Assignee:
              Marcos José Grillo Ramirez
              Reporter:
              Tommaso Tocci
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: