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

[I] [FEATURE] Add Transaction Message Half-Check Hang & Resolution Audit Engine [rocketmq-dashboard]

elephone-184 opened a new issue, #4343:
URL: https://github.com/apache/rocketmq-dashboard/issues/4343

   ### Feature Description
   In transactional messaging architectures, prepared (Half) messages that hang uncommitted or un-rolled back consume broker resources and delay business consistency checks when producer check-listeners fail. Administrators require dedicated visibility into hanging Half messages, check retry counts, resolution state statistics, and manual compensation actions.
   
   ### Proposed Solution
   1. Introduce `TransactionHalfMessageAuditReport` model tracking hanging Half message counts, max check retries, and transaction state distribution.
   2. Implement `TransactionHalfMessageAuditService` to scan uncommitted transaction half-message backlogs and provide manual commit/rollback compensation.
   3. Provide `TransactionHalfMessageAuditController` with audit query and resolution endpoints.
   4. Add frontend `TransactionHalfMessageAuditModal` with pending transaction table, retry indicators, and manual resolution controls.
   5. Provide comprehensive controller and service unit tests.


-- 
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] [FEATURE] Add Transaction Message Half-Check Hang & Resolution Audit Engine [rocketmq-dashboard]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #4343: [FEATURE] Add Transaction Message Half-Check Hang & Resolution Audit Engine
URL: https://github.com/apache/rocketmq-dashboard/issues/4343


-- 
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] [FEATURE] Add Transaction Message Half-Check Hang & Resolution Audit Engine [rocketmq-dashboard]

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

   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] [FEATURE] Add Transaction Message Half-Check Hang & Resolution Audit Engine [rocketmq-dashboard]

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

   **Issue Evaluation**
   
   Category: `enhancement` | Status: **Evaluated**
   
   **Feasibility:** Feasible
   **Scope:** Dashboard backend (new model + service + controller) + frontend (new audit modal component)
   **Compatibility:** Non-breaking — additive feature, no existing APIs affected.
   
   **Assessment:**
   
   The dashboard already models `TRANSACTION` as a `TopicType` and tracks `transactionState`/`transactionId` in trace nodes (`TraceNode.java`, `ProducerNode.java`). However, there is no dedicated audit module for hanging half-messages (prepared but uncommitted/un-rolled-back).
   
   The proposed `TransactionHalfMessageAuditService` would need to:
   1. Query the broker's `HALF` queue via existing `RocketMQAdminClient` to enumerate uncommitted transaction messages.
   2. Track check-retry counts — this data is available in `TransactionState` from the broker's `EndTransactionProcessor`.
   3. Expose manual commit/rollback endpoints — these would delegate to `MQAdminExt`.`endTransaction()`.
   
   **Considerations:**
   - Manual commit/rollback from the dashboard is a **privileged operation** — it must be gated behind proper authorization (admin role check) and ideally require confirmation.
   - The broker must expose half-message enumeration APIs; verify that `selectOneMessageByOffset` or equivalent admin commands support the `HALF` topic filter.
   - Check-retry count tracking may require broker-side metrics exposure if not already available via `getConsumerRunningInfo` or similar.
   
   **Verdict:** Valid enhancement with clear operational value for transactional messaging deployments. Implementation complexity is moderate — the main challenge is broker-side half-message enumeration API availability.
   
   ---
   *🤖 Evaluated by github-manager (automated)*


-- 
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