pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] ConcurrencyPractitioner commented on issue #3450: Adding configuration to disable auto-topic creation
Date Sun, 27 Jan 2019 19:17:56 GMT
ConcurrencyPractitioner commented on issue #3450: Adding configuration to disable auto-topic
creation
URL: https://github.com/apache/pulsar/pull/3450#issuecomment-457945680
 
 
   Ok, I did some digging and here's what I found:
   ```createIfMissing``` is used when seeing if a Z-Node is already built for a ledger. If
a Z-Node does not exist, then a new one will be created (i.e. if ```createIfMissing``` equals
```true```). 
   
   I found that ```PersistentTopicsBase``` will (probably?) create a new ```PersistentTopic```
if there is no partition metadata (```partitionMetadata.partitions == 0 ```) for that particular
store.  At this point, I'm not too sure what this means.
   
   My best guess is that if there is no Z-Node for a ledger,  then that means no partitions
exists for it either. Am I right? @sijie 
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message