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

[PR] perf(studio): consolidate query and audit persistence [rocketmq-dashboard]

Aias00 opened a new pull request, #2966:
URL: https://github.com/apache/rocketmq-dashboard/pull/2966

   ## Summary
   
   - add user-scoped query-history indexes for message and trace access paths
   - delete expired query-history and audit rows in bounded indexed ID batches
   - stabilize audit pagination with `gmt_create DESC, id DESC`
   - cache audit filter options and invalidate the cache after writes
   - move the `result_snapshot` upgrade into the query-history schema migration instead of the alert migration
   
   ## Consolidates
   
   - Replaces #2686
   - Replaces #2672
   - Replaces #2314
   - Closes #2683
   - Closes #2665
   
   ## Verification
   
   - `JAVA_HOME=$(/usr/libexec/java_home -v 21) mvn -q -Dtest='QueryHistorySchemaIndexTest,QueryHistoryServiceTest,QueryHistoryServiceIntegrationTest,QueryHistoryControllerTest,MybatisPlusAuditRepositoryTest,AuditServiceTest,AuditControllerTest,AlertSchemaMigrationTest,DemoDataSqlCompatibilityTest' test`
   - `JAVA_HOME=$(/usr/libexec/java_home -v 21) mvn -q test` (1861 tests, 0 failures, 0 errors, 0 skipped)
   - `git diff --check origin/rocketmq-studio...HEAD`
   


-- 
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: [PR] perf(studio): consolidate query and audit persistence [rocketmq-dashboard]

Posted by "Aias00 (via GitHub)" <gi...@apache.org>.
Aias00 commented on PR #2966:
URL: https://github.com/apache/rocketmq-dashboard/pull/2966#issuecomment-5502812461

   Merge sequencing note: this PR should land before #2964 because it moves the `rmq_instance_message.result_snapshot` upgrade into `QueryHistorySchemaMigration`, its owning module. After this lands, #2964 can rebase and drop its now-redundant optional-column guard if the patch no longer applies.


-- 
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: [PR] perf(studio): consolidate query and audit persistence [rocketmq-dashboard]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins merged PR #2966:
URL: https://github.com/apache/rocketmq-dashboard/pull/2966


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