Skip to content

feat(MSG gPRC/http) Initialize NextCronTime during prepare in MSG mode#106

Closed
wooln wants to merge 1 commit intodtm-labs:mainfrom
wooln:feature/MSG-init-NextCronTime
Closed

feat(MSG gPRC/http) Initialize NextCronTime during prepare in MSG mode#106
wooln wants to merge 1 commit intodtm-labs:mainfrom
wooln:feature/MSG-init-NextCronTime

Conversation

@wooln
Copy link
Copy Markdown
Contributor

@wooln wooln commented Jan 8, 2026

  1. MSG模式(含gPRC和http)prepare时可指定NextCronTime, 用于延时消费
  2. 依赖 DTM Server MSG模式的commit时,若全局事务不WaitResult且NextCronTime在当前时间+3秒后,则延迟执行 Feature/MSG delayed consumption # 577

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 8, 2026

Codecov Report

❌ Patch coverage is 48.14815% with 14 lines in your changes missing coverage. Please review.
✅ Project coverage is 69.78%. Comparing base (ba01fed) to head (c7a1b36).

Files with missing lines Patch % Lines
src/Dtmcli/DtmTransFactory.cs 0.00% 4 Missing ⚠️
src/Dtmcli/Msg/Msg.cs 50.00% 3 Missing and 1 partial ⚠️
src/Dtmgrpc/Msg/MsgGrpc.cs 50.00% 3 Missing and 1 partial ⚠️
src/Dtmgrpc/DtmGImp/Utils.cs 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #106      +/-   ##
==========================================
- Coverage   70.12%   69.78%   -0.34%     
==========================================
  Files          45       45              
  Lines        2005     2029      +24     
  Branches      198      201       +3     
==========================================
+ Hits         1406     1416      +10     
- Misses        560      572      +12     
- Partials       39       41       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@wooln wooln marked this pull request as draft January 10, 2026 10:13
@wooln wooln closed this Jan 11, 2026
@wooln wooln deleted the feature/MSG-init-NextCronTime branch January 11, 2026 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant