HarshMehta112 opened a new pull request, #3475:
URL: https://github.com/apache/dubbo-go/pull/3475
### Description
#### 3. Graceful shutdown result publication hardened
`graceful_shutdown/shutdown.go`
Added `shutdownResultMu` guarding all reads/writes of the package-level
`shutdownResult`,
removing reliance on subtle ordering assumptions between the background
shutdown goroutine
and concurrent `Shutdown()` readers.
Fixes #3453
### Tests
- `TestShutdownResultConsistentUnderConcurrentReaders`,
`TestShutdownPanicSetsResultError`
### Checklist
- [x] I confirm the target branch is `develop`
- [x] Code has passed local testing
- [x] I have added tests that prove my fix is effective or that my feature
works
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]