momo-jun commented on code in PR #16340:
URL: https://github.com/apache/pulsar/pull/16340#discussion_r912602004


##########
site2/website/release-notes.md:
##########
@@ -1,6 +1,248 @@
 
 ## Apache Pulsar Release Notes
 
+### 2.10.1
+#### 2022-07-05
+
+### Important notice
+
+- [fix][broker] Fix broker LoadBalance uneffective 
[15314](https://github.com/apache/pulsar/pull/15314)
+- [fix][admin] Fix producer/consume permission can’t get schema 
[15956](https://github.com/apache/pulsar/pull/15956)
+
+### Broker
+
+- [fix][broker] Fix race condition in getManagedLedgerInternalStats when 
includeLedgerMetadata=true [15918](https://github.com/apache/pulsar/pull/15918)
+- [improve][broker] Avoid contended synchronized block on topic load 
[15883](https://github.com/apache/pulsar/pull/15883)
+- [fix][broker] Fix NPE in MessageDeduplication. 
[15820](https://github.com/apache/pulsar/pull/15820)
+- [improve][broker] Add timeout to closing CoordinationServiceImpl 
[15777](https://github.com/apache/pulsar/pull/15777)
+- [improve][broker] Store Subscription properties 
[15757](https://github.com/apache/pulsar/pull/15757)
+- [improve][broker] Support for updating the Subscription properties 
[15751](https://github.com/apache/pulsar/pull/15751)
+- [improve][broker] Disable memory limit controller for broker client and 
replication clients [15723](https://github.com/apache/pulsar/pull/15723)
+- [fix][broker] Fix NPE when put value to `RangeCache`. 
[15707](https://github.com/apache/pulsar/pull/15707)
+- [fix][broker] Fast return if ack cumulative illegal 
[15695](https://github.com/apache/pulsar/pull/15695)
+- [fix][broker] Fix creating producer failure when set backlog quota. 
[15663](https://github.com/apache/pulsar/pull/15663)
+- [fix][broker] Expose configurationMetadataStore and localMetadataStore 
[15661](https://github.com/apache/pulsar/pull/15661)
+- [fix][broker] Fix NPE when set `AutoTopicCreationOverride` 
[15653](https://github.com/apache/pulsar/pull/15653)
+- [fix][broker] Fix MetadataStoreException$NotFoundException while doing topic 
lookup [15633](https://github.com/apache/pulsar/pull/15633)
+- [fix][broker] Fix calculation in getNumberOfEntriesInStorage 
[15627](https://github.com/apache/pulsar/pull/15627)
+- [fix][broker] Use dispatchRateLimiterLock to update dispatchRateLimiter 
[15601](https://github.com/apache/pulsar/pull/15601)
+- [fix][broker] Sync topicPublishRateLimiter update 
[15599](https://github.com/apache/pulsar/pull/15599)
+- [fix][broker] Fix deadlock in broker after race condition in topic creation 
failure [15570](https://github.com/apache/pulsar/pull/15570)
+- [cleanup][broker] Override close method to avoid caching exception. 
[15529](https://github.com/apache/pulsar/pull/15529)
+- [fix][broker] Close publishLimiter when disable it 
[15520](https://github.com/apache/pulsar/pull/15520)
+- [fix][broker] Fix to avoid TopicStatsImpl NPE even if producerName is null 
[15502](https://github.com/apache/pulsar/pull/15502)
+- [fix][broker] Fix key-shared delivery of messages with interleaved delays 
[15409](https://github.com/apache/pulsar/pull/15409)
+- [fix][Broker] Fix bug in contructor of RocksdbMetadataStore 
[15405](https://github.com/apache/pulsar/pull/15405)
+- [feature][broker] EntryFilter (PIP-105) - support per-Consumer filtering 
[15391](https://github.com/apache/pulsar/pull/15391)
+- [fix][broker/client] Close connection if a ping or pong message cannot be 
sent [15382](https://github.com/apache/pulsar/pull/15382)
+- [improve][broker] Support shrink for ConcurrentSortedLongPairSet  
[15354](https://github.com/apache/pulsar/pull/15354)
+- [improve][broker] Support properties on NonDurable subscriptions (PIP-105) 
[15345](https://github.com/apache/pulsar/pull/15345)
+- [improve][broker] Use shrink map for message redelivery. 
[15342](https://github.com/apache/pulsar/pull/15342)
+- [fix][Broker] Fix error on recycled SubscriptionPropertiesList 
[15335](https://github.com/apache/pulsar/pull/15335)
+- [fix][broker] Fix problem at RateLimiter#tryAcquire 
[15306](https://github.com/apache/pulsar/pull/15306)
+- [fix][broker] Fix totalEntries calculation problem in 
AbstractBaseDispatcher#filterEntriesForConsumere 
[15298](https://github.com/apache/pulsar/pull/15298)
+- [fix][broker] Fix resource group does not report usage 
[15292](https://github.com/apache/pulsar/pull/15292)
+- [fix][Broker] Fix race condition between timeout and completion  in 
`OpAddEntry`  [15233](https://github.com/apache/pulsar/pull/15233)
+- [fix][broker] Fix MessageDeduplication#inactiveProducers may not be 
persistence correctly [15206](https://github.com/apache/pulsar/pull/15206)
+- [fix][broker] Cancel `fencedTopicMonitoringTask` when topic closed normally 
[15202](https://github.com/apache/pulsar/pull/15202)
+- [fix][broker] Fix parameter saslJaasBrokerSectionName in broker.conf 
[15110](https://github.com/apache/pulsar/pull/15110)
+- [cleanup][broker] Remove useless code to avoid confusion in 
OpReadEntry#checkReadCompletion 
[15104](https://github.com/apache/pulsar/pull/15104)
+- [fix][broker] Ensure NamespaceEphemeralData has equals() operator 
[15092](https://github.com/apache/pulsar/pull/15092)
+- [fix][broker] Fix potential to add duplicated consumer 
[15051](https://github.com/apache/pulsar/pull/15051)
+- [fix][broker] Fix rewind failed when ``redeliverUnacknowledgedMessages`` 
[15046](https://github.com/apache/pulsar/pull/15046)
+- [fix][broker]Fix race condition in updating lastMarkDeleteEntry field 
[15031](https://github.com/apache/pulsar/pull/15031)
+- [improve][broker] Avoid using blocking calls for the async method 
``checkTopicOwnership`` [15023](https://github.com/apache/pulsar/pull/15023)
+- [fix][broker] Avoid heartbeat topic to offload. 
[15008](https://github.com/apache/pulsar/pull/15008)
+- [fix][broker] Return if reset in progress 
[14978](https://github.com/apache/pulsar/pull/14978)
+- [fix][broker] Fix topic policy reader close bug 
[14897](https://github.com/apache/pulsar/pull/14897)
+- [fix][broker] Fix getPendingAckInternalStats redirect issue 
[14876](https://github.com/apache/pulsar/pull/14876)
+- [fix][broker] Fix wrong state for non-durable cursor 
[14869](https://github.com/apache/pulsar/pull/14869)
+- [improve][broker] Add log when update namespace policies with error 
[14850](https://github.com/apache/pulsar/pull/14850)
+- [feature][broker] Support advertised listeners for HTTP and HTTPS services 
[14839](https://github.com/apache/pulsar/pull/14839)
+- [fix][broker] Filter the virtual NIC with relative path 
[14829](https://github.com/apache/pulsar/pull/14829)
+- [fix][broker] Fixed duplicated delayed messages when all consumers 
disconnect [14740](https://github.com/apache/pulsar/pull/14740)
+- [fix][broker] Fix cannot delete namespace with system topic 
[14730](https://github.com/apache/pulsar/pull/14730)
+- [fix][broker] Fixed 404 error msg not being returned correctly using http 
lookup [14677](https://github.com/apache/pulsar/pull/14677)
+- [fix][broker] Fix normal topic named ends with `healthcheck`  becomes system 
topic issue [14671](https://github.com/apache/pulsar/pull/14671)
+- [improve][broker] Support shrink for map or set 
[14663](https://github.com/apache/pulsar/pull/14663)
+- [improve][broker] Changing the topic creation flow and optimize heartbeat 
topic not trigger compaction 
[14643](https://github.com/apache/pulsar/pull/14643)
+- [fix][broker] Fix wrong prompt exception when get non-persistent topic list 
without GET_BUDNLE permission 
[14638](https://github.com/apache/pulsar/pull/14638)
+- [fix][broker] Fix inconsistent prompt message when schema version is empty 
using AVRO. [14626](https://github.com/apache/pulsar/pull/14626)
+- [fix][broker] Fix update replication cluster but not update replicator 
[14570](https://github.com/apache/pulsar/pull/14570)
+- [improve][broker] Reduce unnecessary expansions for ConcurrentLong map and 
set [14562](https://github.com/apache/pulsar/pull/14562)
+- [improve][broker] Support ManagedCursorInfo compression 
[14542](https://github.com/apache/pulsar/pull/14542)
+- [improve][broker] Optimize memory usage: support to  shrink for pendingAcks 
map [14515](https://github.com/apache/pulsar/pull/14515)
+- [improve][broker] Support shrink in ConcurrentLongHashMap 
[14497](https://github.com/apache/pulsar/pull/14497)
+- [improve][broker] Optimize RawReader#create when using Compactor 
[14447](https://github.com/apache/pulsar/pull/14447)
+- [fix][broker] Fix NPE when subscription is already removed 
[14363](https://github.com/apache/pulsar/pull/14363)
+- [improve][broker] Optimize load manager find nics process 
[14340](https://github.com/apache/pulsar/pull/14340)
+- [improve][broker] Make revokePermissionsOnTopic method async 
[14149](https://github.com/apache/pulsar/pull/14149)
+- [fix][broker] Fix when nextValidLedger is null caused NPE 
[13975](https://github.com/apache/pulsar/pull/13975)
+
+### Transaction
+
+- [fix][txn] Fix transasction ack batch message 
[15875](https://github.com/apache/pulsar/pull/15875)
+- [fix][txn] Fix NPE of TransactionMetaStoreHandler 
[15840](https://github.com/apache/pulsar/pull/15840)
+- [improve][txn] Optimize transaction lowWaterMark to clean useless data 
faster [15592](https://github.com/apache/pulsar/pull/15592)
+- [fix][txn] Fix transaction PendingAck lowWaterMark 
[15530](https://github.com/apache/pulsar/pull/15530)
+- [fix][txn] Make transaction stats consistent at end txn 
[15472](https://github.com/apache/pulsar/pull/15472)
+- [improve][txn] Add lowWaterMark check before appending entry to TB 
[15424](https://github.com/apache/pulsar/pull/15424)
+- [fix][txn] Fix transaction component recover fillQueue 
[15418](https://github.com/apache/pulsar/pull/15418)
+- [fix][txn] Topic transaction buffer recover don't close reader when throw 
RuntimeException [15361](https://github.com/apache/pulsar/pull/15361)
+- [fix][txn] Fix potentially unfinishable future 
[15208](https://github.com/apache/pulsar/pull/15208)
+- [improve][txn] Optimize metadataPositions in MLPendingAckStore 
[15137](https://github.com/apache/pulsar/pull/15137)
+- [fix][txn] TransactionMetadataService don't connect again if store exist 
[15114](https://github.com/apache/pulsar/pull/15114)
+- [improve][txn] Avoid create multiple future and exception handler. 
[15089](https://github.com/apache/pulsar/pull/15089)

Review Comment:
   ```suggestion
   - [improve][txn] Avoid creating multiple future and exception handlers 
[15089](https://github.com/apache/pulsar/pull/15089)
   ```



##########
site2/website/release-notes.md:
##########
@@ -1,6 +1,248 @@
 
 ## Apache Pulsar Release Notes
 
+### 2.10.1
+#### 2022-07-05
+
+### Important notice
+
+- [fix][broker] Fix broker LoadBalance uneffective 
[15314](https://github.com/apache/pulsar/pull/15314)
+- [fix][admin] Fix producer/consume permission can’t get schema 
[15956](https://github.com/apache/pulsar/pull/15956)
+
+### Broker
+
+- [fix][broker] Fix race condition in getManagedLedgerInternalStats when 
includeLedgerMetadata=true [15918](https://github.com/apache/pulsar/pull/15918)
+- [improve][broker] Avoid contended synchronized block on topic load 
[15883](https://github.com/apache/pulsar/pull/15883)
+- [fix][broker] Fix NPE in MessageDeduplication. 
[15820](https://github.com/apache/pulsar/pull/15820)
+- [improve][broker] Add timeout to closing CoordinationServiceImpl 
[15777](https://github.com/apache/pulsar/pull/15777)
+- [improve][broker] Store Subscription properties 
[15757](https://github.com/apache/pulsar/pull/15757)
+- [improve][broker] Support for updating the Subscription properties 
[15751](https://github.com/apache/pulsar/pull/15751)
+- [improve][broker] Disable memory limit controller for broker client and 
replication clients [15723](https://github.com/apache/pulsar/pull/15723)
+- [fix][broker] Fix NPE when put value to `RangeCache`. 
[15707](https://github.com/apache/pulsar/pull/15707)
+- [fix][broker] Fast return if ack cumulative illegal 
[15695](https://github.com/apache/pulsar/pull/15695)
+- [fix][broker] Fix creating producer failure when set backlog quota. 
[15663](https://github.com/apache/pulsar/pull/15663)
+- [fix][broker] Expose configurationMetadataStore and localMetadataStore 
[15661](https://github.com/apache/pulsar/pull/15661)
+- [fix][broker] Fix NPE when set `AutoTopicCreationOverride` 
[15653](https://github.com/apache/pulsar/pull/15653)
+- [fix][broker] Fix MetadataStoreException$NotFoundException while doing topic 
lookup [15633](https://github.com/apache/pulsar/pull/15633)
+- [fix][broker] Fix calculation in getNumberOfEntriesInStorage 
[15627](https://github.com/apache/pulsar/pull/15627)
+- [fix][broker] Use dispatchRateLimiterLock to update dispatchRateLimiter 
[15601](https://github.com/apache/pulsar/pull/15601)
+- [fix][broker] Sync topicPublishRateLimiter update 
[15599](https://github.com/apache/pulsar/pull/15599)
+- [fix][broker] Fix deadlock in broker after race condition in topic creation 
failure [15570](https://github.com/apache/pulsar/pull/15570)
+- [cleanup][broker] Override close method to avoid caching exception. 
[15529](https://github.com/apache/pulsar/pull/15529)
+- [fix][broker] Close publishLimiter when disable it 
[15520](https://github.com/apache/pulsar/pull/15520)
+- [fix][broker] Fix to avoid TopicStatsImpl NPE even if producerName is null 
[15502](https://github.com/apache/pulsar/pull/15502)
+- [fix][broker] Fix key-shared delivery of messages with interleaved delays 
[15409](https://github.com/apache/pulsar/pull/15409)
+- [fix][Broker] Fix bug in contructor of RocksdbMetadataStore 
[15405](https://github.com/apache/pulsar/pull/15405)
+- [feature][broker] EntryFilter (PIP-105) - support per-Consumer filtering 
[15391](https://github.com/apache/pulsar/pull/15391)
+- [fix][broker/client] Close connection if a ping or pong message cannot be 
sent [15382](https://github.com/apache/pulsar/pull/15382)
+- [improve][broker] Support shrink for ConcurrentSortedLongPairSet  
[15354](https://github.com/apache/pulsar/pull/15354)
+- [improve][broker] Support properties on NonDurable subscriptions (PIP-105) 
[15345](https://github.com/apache/pulsar/pull/15345)
+- [improve][broker] Use shrink map for message redelivery. 
[15342](https://github.com/apache/pulsar/pull/15342)
+- [fix][Broker] Fix error on recycled SubscriptionPropertiesList 
[15335](https://github.com/apache/pulsar/pull/15335)
+- [fix][broker] Fix problem at RateLimiter#tryAcquire 
[15306](https://github.com/apache/pulsar/pull/15306)
+- [fix][broker] Fix totalEntries calculation problem in 
AbstractBaseDispatcher#filterEntriesForConsumere 
[15298](https://github.com/apache/pulsar/pull/15298)
+- [fix][broker] Fix resource group does not report usage 
[15292](https://github.com/apache/pulsar/pull/15292)
+- [fix][Broker] Fix race condition between timeout and completion  in 
`OpAddEntry`  [15233](https://github.com/apache/pulsar/pull/15233)
+- [fix][broker] Fix MessageDeduplication#inactiveProducers may not be 
persistence correctly [15206](https://github.com/apache/pulsar/pull/15206)
+- [fix][broker] Cancel `fencedTopicMonitoringTask` when topic closed normally 
[15202](https://github.com/apache/pulsar/pull/15202)
+- [fix][broker] Fix parameter saslJaasBrokerSectionName in broker.conf 
[15110](https://github.com/apache/pulsar/pull/15110)
+- [cleanup][broker] Remove useless code to avoid confusion in 
OpReadEntry#checkReadCompletion 
[15104](https://github.com/apache/pulsar/pull/15104)
+- [fix][broker] Ensure NamespaceEphemeralData has equals() operator 
[15092](https://github.com/apache/pulsar/pull/15092)
+- [fix][broker] Fix potential to add duplicated consumer 
[15051](https://github.com/apache/pulsar/pull/15051)
+- [fix][broker] Fix rewind failed when ``redeliverUnacknowledgedMessages`` 
[15046](https://github.com/apache/pulsar/pull/15046)
+- [fix][broker]Fix race condition in updating lastMarkDeleteEntry field 
[15031](https://github.com/apache/pulsar/pull/15031)
+- [improve][broker] Avoid using blocking calls for the async method 
``checkTopicOwnership`` [15023](https://github.com/apache/pulsar/pull/15023)
+- [fix][broker] Avoid heartbeat topic to offload. 
[15008](https://github.com/apache/pulsar/pull/15008)
+- [fix][broker] Return if reset in progress 
[14978](https://github.com/apache/pulsar/pull/14978)
+- [fix][broker] Fix topic policy reader close bug 
[14897](https://github.com/apache/pulsar/pull/14897)
+- [fix][broker] Fix getPendingAckInternalStats redirect issue 
[14876](https://github.com/apache/pulsar/pull/14876)
+- [fix][broker] Fix wrong state for non-durable cursor 
[14869](https://github.com/apache/pulsar/pull/14869)
+- [improve][broker] Add log when update namespace policies with error 
[14850](https://github.com/apache/pulsar/pull/14850)
+- [feature][broker] Support advertised listeners for HTTP and HTTPS services 
[14839](https://github.com/apache/pulsar/pull/14839)
+- [fix][broker] Filter the virtual NIC with relative path 
[14829](https://github.com/apache/pulsar/pull/14829)
+- [fix][broker] Fixed duplicated delayed messages when all consumers 
disconnect [14740](https://github.com/apache/pulsar/pull/14740)
+- [fix][broker] Fix cannot delete namespace with system topic 
[14730](https://github.com/apache/pulsar/pull/14730)
+- [fix][broker] Fixed 404 error msg not being returned correctly using http 
lookup [14677](https://github.com/apache/pulsar/pull/14677)
+- [fix][broker] Fix normal topic named ends with `healthcheck`  becomes system 
topic issue [14671](https://github.com/apache/pulsar/pull/14671)
+- [improve][broker] Support shrink for map or set 
[14663](https://github.com/apache/pulsar/pull/14663)
+- [improve][broker] Changing the topic creation flow and optimize heartbeat 
topic not trigger compaction 
[14643](https://github.com/apache/pulsar/pull/14643)
+- [fix][broker] Fix wrong prompt exception when get non-persistent topic list 
without GET_BUDNLE permission 
[14638](https://github.com/apache/pulsar/pull/14638)

Review Comment:
   ```suggestion
   - [fix][broker] Fix wrong prompt exception when getting the non-persistent 
topic list without GET_BUDNLE permission 
[14638](https://github.com/apache/pulsar/pull/14638)
   ```



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to