You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/06/01 02:40:57 UTC

[GitHub] [pulsar] tjiuming opened a new pull request, #15869: remove topic -> namespace cache of LedgerOffloaderStatsImpl

tjiuming opened a new pull request, #15869:
URL: https://github.com/apache/pulsar/pull/15869

   ### Motivation
   
   There was already had
   ``` java
   LoadingCache<String, TopicName> cache = CacheBuilder.newBuilder().maximumSize(100000)
               .expireAfterAccess(30, TimeUnit.MINUTES).build(new CacheLoader<String, TopicName>() {
                   @Override
                   public TopicName load(String name) throws Exception {
                       return new TopicName(name);
                   }
               });
   ```
    in `TopicName`, so that we don't need `topic -> namespace cache` in `LedgerOffloaderStatsImpl` any more.
   
   
   
   ### Documentation
   
   Check the box below or label this PR directly.
   
   Need to update docs? 
   
   - [ ] `doc-required` 
   (Your PR needs to update docs and you will update later)
     
   - [x] `doc-not-needed` 
   (Please explain why)
     
   - [ ] `doc` 
   (Your PR contains doc changes)
   
   - [ ] `doc-complete`
   (Docs have been already added)


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] merlimat merged pull request #15869: [fix][broker] remove topic -> namespace cache of LedgerOffloaderStatsImpl

Posted by GitBox <gi...@apache.org>.
merlimat merged PR #15869:
URL: https://github.com/apache/pulsar/pull/15869


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org