You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Sijie Guo (JIRA)" <ji...@apache.org> on 2012/12/17 07:12:12 UTC

[jira] [Created] (BOOKKEEPER-518) Lazily load hedwig metadata for different types of requests

Sijie Guo created BOOKKEEPER-518:
------------------------------------

             Summary: Lazily load hedwig metadata for different types of requests
                 Key: BOOKKEEPER-518
                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-518
             Project: Bookkeeper
          Issue Type: Sub-task
            Reporter: Sijie Guo


Currently, acquire a topic needs to load both persistence info and subscriptions info at the same time. only after that, the topic acquisition could succeed. but it seems that, for a sub/closesub/unsub request, we just need subscription info. for a pub request, we just need persistence info. especially, for a subscriber requests, we don't need to create a new ledger if there is no messages. we could delay provisioning ledger when messages arrive. otherwise, it introduced unnecessary metadata creation.

for some applications, lazily loading might be necessary. for some applications, it might be not. it should be configurable.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira