You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "89799969 (via GitHub)" <gi...@apache.org> on 2026/09/09 15:57:53 UTC

[I] [Studio][Bug] Alert acknowledgement can diverge from active alert state [rocketmq-dashboard]

89799969 opened a new issue, #4203:
URL: https://github.com/apache/rocketmq-dashboard/issues/4203

   ### Description
   
   `AlertService#acknowledgeAlert` persists two related pieces of state:
   
   1. it marks the selected `rmq_system_alert` event as acknowledged; and
   2. for the matching FIRING occurrence, it changes `rmq_alert_state` to ACKED.
   
   The service method currently has no transaction boundary. If the second database write throws after the event update succeeds, the request fails but the event remains acknowledged while the active state remains FIRING. The state machine may then continue producing reminder notifications for an event that the UI already shows as acknowledged.
   
   This is distinct from the expected stale-occurrence case where `AlertStateRepository#acknowledge` returns `false`: an old event may still be acknowledged without changing a newer incident. The inconsistent state here is caused by a persistence exception midway through the current occurrence update.
   
   ### Expected behavior
   
   The event acknowledgement and matching active-state acknowledgement should commit or roll back atomically when both writes are attempted.
   
   ### Proposed fix
   
   Add a transaction boundary to `AlertService#acknowledgeAlert` and cover both rollback-on-failure and successful retry with an H2-backed integration test.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Studio][Bug] Alert acknowledgement can diverge from active alert state [rocketmq-dashboard]

Posted by "89799969 (via GitHub)" <gi...@apache.org>.
89799969 commented on issue #4203:
URL: https://github.com/apache/rocketmq-dashboard/issues/4203#issuecomment-5709157130

   Reopening request: this issue was auto-closed by the stale bot, but the defect is still live on `master`.
   
   Open PR: #4491 / #4391 (`fix(alert): acknowledge the event and active state in one transaction`) still implements this fix against current `master` and is waiting for review.
   
   Please reopen this issue (or review #4391 directly).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Studio][Bug] Alert acknowledgement can diverge from active alert state [rocketmq-dashboard]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #4203: [Studio][Bug] Alert acknowledgement can diverge from active alert state
URL: https://github.com/apache/rocketmq-dashboard/issues/4203


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Studio][Bug] Alert acknowledgement can diverge from active alert state [rocketmq-dashboard]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4203:
URL: https://github.com/apache/rocketmq-dashboard/issues/4203#issuecomment-5706457326

   This issue has been automatically closed because there has been no activity for 7 days. If you believe this issue is still relevant, please reopen it with updated information.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Studio][Bug] Alert acknowledgement can diverge from active alert state [rocketmq-dashboard]

Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #4203:
URL: https://github.com/apache/rocketmq-dashboard/issues/4203#issuecomment-5605052853

   **Issue Evaluation**
   
   Category: `bug` | Status: **Under Review**
   
   Thank you for reporting this issue. The alert acknowledgement divergence from active alert state in RocketMQ Studio appears to be a valid bug related to state synchronization.
   
   **Initial Assessment:**
   - This seems to involve the alert management UI not properly reflecting acknowledged alert states
   - Likely a state synchronization issue between the frontend alert panel and backend alert state
   
   A code-level verification will be performed to confirm the root cause. If confirmed, an automated fix proposal may be generated.
   
   ---
   *Automated evaluation by github-manager-bot*


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org