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

Make Database.sync a special context manager

    Details

    • Templates:
    • Team:
      Data Release Production
    • Urgent?:
      No

      Description

      I've struggled with how best to deal with Database.sync, an important operation that needs to start and commit its own transaction in order to be safely concurrent.

      I had an idea for this while working on DM-15536 that should be explored: a sync operation could be a special context manager that could contain any number actual row syncs and other vanilla modification queries.

        Attachments

          Activity

            People

            • Assignee:
              jbosch Jim Bosch
              Reporter:
              jbosch Jim Bosch
              Watchers:
              Jim Bosch
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Summary Panel