Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-6091

CMAPI gives DMLProc only 10 seconds for a greceful stop

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 23.02.14, 23.10.4
    • None
    • cmapi

    Description

      Consider example below

      02/Jul/2025 22:18:52 [INFO] (access_logger) {('CP Server Thread-10',)} Got incoming PUT request from "209.171.0.161" to "/cmapi/0.4.0/node/config". uid: 1ee7568b-0208-42ce-b20d-dd6b25be2b4c
      02/Jul/2025 22:18:52 [DEBUG] (cmapi_server) {('CP Server Thread-10',)} put_config starts
      02/Jul/2025 22:18:52 [INFO] (root) {('CP Server Thread-10',)}  -- Matching against ModuleIPAddr1-1-3, which says 209.171.0.161
      02/Jul/2025 22:18:52 [INFO] (root) {('CP Server Thread-10',)} Wrote "pm1" to /var/lib/columnstore/local/module
      02/Jul/2025 22:18:52 [DEBUG] (root) {('CP Server Thread-10',)} Stopping "mcs-ddlproc".
      02/Jul/2025 22:18:52 [DEBUG] (root) {('CP Server Thread-10',)} Call "stop" on service "mcs-ddlproc" with "systemctl stop mcs-ddlproc".
      02/Jul/2025 22:18:52 [DEBUG] (root) {('CP Server Thread-10',)} Waiting command to finish.
      02/Jul/2025 22:18:52 [DEBUG] (root) {('CP Server Thread-10',)} Checking "mcs-ddlproc" is running.
      02/Jul/2025 22:18:52 [DEBUG] (root) {('CP Server Thread-10',)} Call "show -p ActiveState --value" on service "mcs-ddlproc" with "systemctl show -p ActiveState --value mcs-ddlproc".
      02/Jul/2025 22:18:52 [DEBUG] (root) {('CP Server Thread-10',)} Waiting command to finish.
      02/Jul/2025 22:18:52 [DEBUG] (root) {('CP Server Thread-10',)} Service "mcs-ddlproc" is in "inactive" state
      02/Jul/2025 22:18:52 [INFO] (root) {('CP Server Thread-10',)} Trying to gracefully stop DMLProc using DBRM commands.
      02/Jul/2025 22:18:52 [INFO] (root) {('CP Server Thread-10',)} DBRM._send_command: Command set_system_state was requested with value 24
      02/Jul/2025 22:18:52 [INFO] (root) {HeartBeater} Loaded the config file, my name is 209.171.0.161
      02/Jul/2025 22:18:53 [INFO] (root) {('CP Server Thread-10',)} Waiting for DMLProc to stop in 10 seconds
      02/Jul/2025 22:18:53 [INFO] (root) {('CP Server Thread-10',)} Waiting for DMLProc to stop. Seconds left 10.
      02/Jul/2025 22:18:54 [INFO] (root) {('CP Server Thread-10',)} Waiting for DMLProc to stop. Seconds left 9.
      02/Jul/2025 22:18:55 [INFO] (root) {('CP Server Thread-10',)} Waiting for DMLProc to stop. Seconds left 8.
      02/Jul/2025 22:18:56 [INFO] (root) {('CP Server Thread-10',)} Waiting for DMLProc to stop. Seconds left 7.
      02/Jul/2025 22:18:57 [INFO] (root) {('CP Server Thread-10',)} Waiting for DMLProc to stop. Seconds left 6.
      02/Jul/2025 22:18:58 [INFO] (root) {('CP Server Thread-10',)} Waiting for DMLProc to stop. Seconds left 5.
      02/Jul/2025 22:18:59 [INFO] (root) {('CP Server Thread-10',)} Waiting for DMLProc to stop. Seconds left 4.
      02/Jul/2025 22:19:00 [INFO] (root) {('CP Server Thread-10',)} Waiting for DMLProc to stop. Seconds left 3.
      02/Jul/2025 22:19:01 [INFO] (root) {('CP Server Thread-10',)} Waiting for DMLProc to stop. Seconds left 2.
      02/Jul/2025 22:19:02 [INFO] (root) {('CP Server Thread-10',)} Waiting for DMLProc to stop. Seconds left 1.
      

      CMAPI must at least give 5 minutes for a graceful shutdown.

      Attachments

        Activity

          People

            alan.mologorsky Alan Mologorsky
            drrtuy Roman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.