Ensure collmod works correctly with concurrent timeseries collection drop and re-create

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • ALL
    • None
    • 3
    • TBD
    • 🟥 DDL
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, during CollMod we perform timeseries translation logic and then execute the translated CollMod request without collection metadata stability.

      So this means that it could happen the following:

      • The target collection exists and is a normal collection.
      • We decide to not perform timeseries translation
      • We start executing the normal CollMod path (non-timeseries)
      • The collection gets dropped and re-created as timeseries collection.
      • The CollMod operation continues with the normal (non-timeseries) execution, but the collection is now timeseries.

       

      The opposite should also be possible, we start with a timeseries collection, we perform the translation and then the collection gets dropped and re-created as non-timeseries collection.

            Assignee:
            Unassigned
            Reporter:
            Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: