dubbo icon indicating copy to clipboard operation
dubbo copied to clipboard

fix Context loss when async invoke issue#13666

Open MaxChen1123 opened this issue 9 months ago • 3 comments

What is the purpose of the change?

to fix issue #13666 in Dubbo Protocol (still has this issue in Triple)

How

  1. make it not check whether the map in RpcContextAttachment is empty (cuz it may be changed)
  2. write the ServerResponseContext in the future callback to make sure the operation to the context has already done

Checklist

  • [x] Make sure there is a GitHub_issue field for the change.
  • [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • [x] Write necessary unit-test to verify your logic correction. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
  • [x] Make sure gitHub actions can pass. Why the workflow is failing and how to fix it?

MaxChen1123 avatar Mar 02 '25 09:03 MaxChen1123