Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-10471

Make deadline configurable for SIGTERMIN graceful shutdown

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Impala 4.0.0
    • Fix Version/s: None
    • Component/s: Backend
    • Labels:
    • Epic Color:
      ghx-label-10

      Description

      While the graceful shutdown deadline can be configured when the SHUTDOWN() statement is executed, when the shutdown is initiated with SIGTERMIN signal it will use a default 1 year deadline. The related ImpalaShutdownSignalHandler can be found here.

      ...
      const int ONE_YEAR_IN_SECONDS = 365 * 24 * 60 * 60;
      Status status = impala_server->StartShutdown(ONE_YEAR_IN_SECONDS, &shutdown_status);
      ...
      

      The --shutdown_deadline_s flag should be respected in this case as well.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              amargoor Amogh Margoor
              Reporter:
              tmate Tamas Mate

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment