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

Avoid restarting czar when empty chunk list changes

    Details

    • Type: Story
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: Qserv
    • Labels:
    • Templates:
    • Story Points:
      2
    • Sprint:
      DB_W16_12
    • Team:
      Data Access and Database

      Description

      Currently czar caches empty chunk list after it reads the list from file. This complicates things when we need to update the list, integration test for example has to restart czar process after it loads new data to make sure that czar updates its cached list. Would be nice to have simpler mechanism to resetting cached list in czar without restarting it completely. It could be done via special query (abusing FLUSH for example) or via sending signal (problematic if czar runs remotely).

      This can be potentially useful even after we replace empty chunk list file with some other mechanism as I expect that cache will stay around even for that.

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  salnikov Andy Salnikov
                  Reporter:
                  salnikov Andy Salnikov
                  Reviewers:
                  Fritz Mueller
                  Watchers:
                  Andy Salnikov, Fritz Mueller
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Summary Panel