You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "seqwait (via GitHub)" <gi...@apache.org> on 2025/11/25 14:27:54 UTC
[I] [Bug] Directory of type RegistryDirectory already destroyed for service [dubbo]
seqwait opened a new issue, #15798:
URL: https://github.com/apache/dubbo/issues/15798
### Pre-check
- [x] I am sure that all the content I provide is in English.
### Search before asking
- [x] I had searched in the [issues](https://github.com/apache/dubbo/issues?q=is%3Aissue) and found no similar issues.
### Apache Dubbo Component
Java SDK (apache/dubbo)
### Dubbo Version
openjdk: 1.8 dubbo: 3.2.0
### Steps to reproduce this issue
Because Dubbo for Spring Boot starts to destroy itself immediately after receiving the ContextClosedEvent, while the Spring Boot scheduled task (ThreadPoolTaskScheduler) is destroyed later during the DisposableBean.destroy() phase, the destruction order becomes inconsistent.
As a result, Dubbo is destroyed before the scheduled tasks are stopped. If those tasks continue to invoke Dubbo remote services during this period, they will throw the following error:
```
org.apache.dubbo.rpc.RpcException: Directory of type RegistryDirectory already destroyed for service
```
### What you expected to happen
Support graceful shutdown
### Anything else
_No response_
### Are you willing to submit a pull request to fix on your own?
- [ ] Yes I am willing to submit a pull request on my own!
### Code of Conduct
- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
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: notifications-unsubscribe@dubbo.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [I] [Bug] Directory of type RegistryDirectory already destroyed for service [dubbo]
Posted by "heliang666s (via GitHub)" <gi...@apache.org>.
heliang666s commented on issue #15798:
URL: https://github.com/apache/dubbo/issues/15798#issuecomment-3659661734
@arunikayadav42 just go ahead
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [I] [Bug] Directory of type RegistryDirectory already destroyed for service [dubbo]
Posted by "zqzlq (via GitHub)" <gi...@apache.org>.
zqzlq commented on issue #15798:
URL: https://github.com/apache/dubbo/issues/15798#issuecomment-3619921053
Hello, as a newcomer to open source, I would like to try to contribute. Is this issue still available? If so, I'd love to work on it, could you please assign it to me? Thank you!
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [I] [Bug] Directory of type RegistryDirectory already destroyed for service [dubbo]
Posted by "arunikayadav42 (via GitHub)" <gi...@apache.org>.
arunikayadav42 commented on issue #15798:
URL: https://github.com/apache/dubbo/issues/15798#issuecomment-3659251126
@heliang666s could you please assign this issue to me, as I would love contributing to the project by fixing this issue.
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [I] [Bug] Directory of type RegistryDirectory already destroyed for service [dubbo]
Posted by "zrlw (via GitHub)" <gi...@apache.org>.
zrlw commented on issue #15798:
URL: https://github.com/apache/dubbo/issues/15798#issuecomment-3748192818
> [@zrlw](https://github.com/zrlw) [@heliang666s](https://github.com/heliang666s) could you please clarify?
3.3
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [I] [Bug] Directory of type RegistryDirectory already destroyed for service [dubbo]
Posted by "arunikayadav42 (via GitHub)" <gi...@apache.org>.
arunikayadav42 commented on issue #15798:
URL: https://github.com/apache/dubbo/issues/15798#issuecomment-3714406111
@zrlw @heliang666s could you please clarify?
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [I] [Bug] Directory of type RegistryDirectory already destroyed for service [dubbo]
Posted by "arunikayadav42 (via GitHub)" <gi...@apache.org>.
arunikayadav42 commented on issue #15798:
URL: https://github.com/apache/dubbo/issues/15798#issuecomment-3678052327
@heliang666s as the issue is in the following version : "openjdk: 1.8 dubbo: 3.2.0" , do i need to clone the branch 3.2 for making the changes? I don't see any master branch.
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [I] [Bug] Directory of type RegistryDirectory already destroyed for service [dubbo]
Posted by "Anon2Tokyo (via GitHub)" <gi...@apache.org>.
Anon2Tokyo commented on issue #15798:
URL: https://github.com/apache/dubbo/issues/15798#issuecomment-5282059640
@zrlw Hello, is there anyone else who is working on solving this issue? I can handle this issue myself.
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org