Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-30102

Reinforced implementation of the REST services to prevent race conditions

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: To Do
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Qserv
    • Labels:
      None

      Description

      The problem

      This ticket was triggered by DM-30099.
      Many REST services in the current implementation of the Master Replication Controller aren't robust enough to prevent potential race conditions when processing requests affecting the overlapping areas of interest. One example would be the services responsible for deleting databases and tables:

      DELETE /ingest/database/:database
      DELETE /ingest/table/:database/:table
      

      Each has to make various non-trivial modifications to the underlying persistent structures at various database servers.

      Hence, the goal of the effort is to revisit the implementation and introduced synchronizations to prevent race conditions.

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              Assignee:
              gapon Igor Gaponenko
              Reporter:
              gapon Igor Gaponenko
              Watchers:
              Andy Salnikov, Fritz Mueller, Igor Gaponenko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: