Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
None
-
None
-
None
Description
After topic ownership is figured out by topic manager, AbstractSubscriptionManager and BookkeeperPersistenceManage will be notified to acquire topic. Then both AbstractSubscriptionManager and BookkeeperPersistenceManage have a first check on whether the topic is successfully acquired before, if yes the acquire op response right away, or else they will read metadata and do further jobs.
The problem is that acquire operation may take very long time to finish (especially for BookkeeperPersistenceManage), so if many requests of a same topic come to Hub, all of these request will issue a new acquire operation. The situation may go very very bad if there are many sub/closesub and metadata storage get small throughput.