momo-jun commented on code in PR #262: URL: https://github.com/apache/pulsar-site/pull/262#discussion_r1005130893
########## site2/website-next/release-notes/versioned/pulsar-2.10.2.md: ########## @@ -0,0 +1,220 @@ +--- +id: pulsar-2.10.2 +title: Apache Pulsar 2.10.2 +sidebar_label: Apache Pulsar 2.10.2 +--- + +#### 2022-10-24 +### Important notice +- [fix][admin] Fix get non-persistent topics issue in Namespaces. [#16170](https://github.com/apache/pulsar/pull/16170) + +### Broker +- [fix][broker] ManagedLedger: move to FENCED state in case of BadVersionException [#17736](https://github.com/apache/pulsar/pull/17736) +- [fix][broker] Issue 17588: Allow deletion of a namespace that was left in deleted status [#17592](https://github.com/apache/pulsar/pull/17592) +- [fix][broker] Fix bookeeper packages npe [#17291](https://github.com/apache/pulsar/pull/17291) +- [fix][broker] Fix rack awareness cache expiration data race [#16825](https://github.com/apache/pulsar/pull/16825) +- [fix][broker] Fix stats-internal with option -m cause active ledger recover then close [#16662](https://github.com/apache/pulsar/pull/16662) +- [fix][broker] Fix deadlock in key-shared dispatcher [#16660](https://github.com/apache/pulsar/pull/16660) +- [fix][broker] PulsarLedgerManager: add missed return statement [#16607](https://github.com/apache/pulsar/pull/16607) +- [fix][broker] Ensure the ack-timeout task gets re-scheduled when there is an exception in the final stage [#16337](https://github.com/apache/pulsar/pull/16337) +- [fix][broker] Fix select broker is none [#16316](https://github.com/apache/pulsar/pull/16316) +- [fix][broker] Fixed deadlock when checking topic ownership [#16310](https://github.com/apache/pulsar/pull/16310) +- [fix][broker] Fix thread safety issues in accessing ManagedCursorContainer.heap ArrayList [#16049](https://github.com/apache/pulsar/pull/16049) +- [fix][broker] Avoid IllegalStateException while client_version is not set [#16788](https://github.com/apache/pulsar/pull/16788) +- [fix][broker] BadVersionException when splitting bundles, delay 100ms and try again. [#16612](https://github.com/apache/pulsar/pull/16612) +- [fix][broker] Expose timestamp field for SchemaData&SchemaInfo [#16380](https://github.com/apache/pulsar/pull/16380) +- [fix][broker] Fix NPE when drop backlog for time limit. [#16235](https://github.com/apache/pulsar/pull/16235) +- [fix][broker] Fix NPE when get /admin/v2/namespaces/public/default/maxTopicsPerNamespace [#16076](https://github.com/apache/pulsar/pull/16076) +- [fix][broker] Fix RawReader out of order [#16390](https://github.com/apache/pulsar/pull/16390) +- [fix][broker] Fix calculate avg message per entry [#17046](https://github.com/apache/pulsar/pull/17046) +- [fix][broker] Fix compaction subscription acknowledge Marker msg issue. [#16205](https://github.com/apache/pulsar/pull/16205) +- [fix][broker] Fix consumer does not abide by the max unacks limitation for Key_Shared subscription [#16718](https://github.com/apache/pulsar/pull/16718) +- [fix][broker] Fix consumer does not abide by the max unacks limitation for Shared subscription [#16670](https://github.com/apache/pulsar/pull/16670) +- [fix][broker] Fix create client with TLS config [#16014](https://github.com/apache/pulsar/pull/16014) +- [fix][broker] Fix namespace backlog quota check with retention. [#17706](https://github.com/apache/pulsar/pull/17706) +- [fix][broker] Fix out of order data replication [#17154](https://github.com/apache/pulsar/pull/17154) +- [fix][broker] Fix passing incorrect authentication data [#16201](https://github.com/apache/pulsar/pull/16201) +- [fix][broker] Fix potential exception causing the reader to be unable to continue reading [#17556](https://github.com/apache/pulsar/pull/17556) +- [fix][broker] Fix pulsarLedgerIdGenerator can't delete index path when zk metadata store config rootPath. [#17192](https://github.com/apache/pulsar/pull/17192) +- [fix][broker] Fix schema does not replicate successfully [#17049](https://github.com/apache/pulsar/pull/17049) +- [fix][broker] Fix the replicator unnecessary get schema request for BYTES schema [#17523](https://github.com/apache/pulsar/pull/17523) +- [fix][broker] Fixed error when delayed messages trackers state grows to >1.5GB [#16490](https://github.com/apache/pulsar/pull/16490) +- [fix][broker] Increment topic stats outbound message counters and update rate after messages have been written to the TCP/IP connection [#17043](https://github.com/apache/pulsar/pull/17043) +- [fix][broker] ManagedCursor: mark delete no callback when create meta-ledger fail [#16841](https://github.com/apache/pulsar/pull/16841) +- [fix][broker] Multiple consumer dispatcher stuck when `unackedMessages` greater than `maxUnackedMessages` [#17483](https://github.com/apache/pulsar/pull/17483) +- [fix][broker] PulsarLedgerManager to pass correct error code to BK client [#16857](https://github.com/apache/pulsar/pull/16857) +- [fix][broker] Release the entry in getEarliestMessagePublishTimeOfPos. [#16386](https://github.com/apache/pulsar/pull/16386) +- [fix][broker] Retry to delete the namespace if new topics created during the namespace deletion [#16676](https://github.com/apache/pulsar/pull/16676) +- [fix][broker] Retry when DistributedIdGenerator has BadVersion error [#16491](https://github.com/apache/pulsar/pull/16491) +- [fix][broker] Skip reading more entries for a pending read with no more entries [#16400](https://github.com/apache/pulsar/pull/16400) +- [fix][broker] Support loadBalancerSheddingIntervalMinutes dynamic configuration [#16408](https://github.com/apache/pulsar/pull/16408) +- [fix][broker] The configuration loadBalancerNamespaceMaximumBundles is invalid [#16552](https://github.com/apache/pulsar/pull/16552) +- [fix][broker] Topic policy reader can't recover when getting any exception. [#17562](https://github.com/apache/pulsar/pull/17562) +- [fix][broker] Unregister topic policy listener if managed ledger close failed [#17652](https://github.com/apache/pulsar/pull/17652) +- [fix][broker] Upgrade log4j2 version to 2.18.0 [#16884](https://github.com/apache/pulsar/pull/16884) +- [fix][broker] fix No such ledger exception [#16420](https://github.com/apache/pulsar/pull/16420) +- [fix][broker] fix broker unackmessages become a negative number [#17003](https://github.com/apache/pulsar/pull/17003) +- [fix][broker] remove exception log when access status.html [#17025](https://github.com/apache/pulsar/pull/17025) +- [fix][broker] Consumer can't consume messages because there are two same topics in one broker [#17526](https://github.com/apache/pulsar/pull/17526) +- [fix][broker] Fix getInternalStats occasional lack of LeaderInfo again [#16238](https://github.com/apache/pulsar/pull/16238) +- [fix][broker] Fix subscribe dispatcher limiter not be initialized [#16175](https://github.com/apache/pulsar/pull/16175) +- [fix][broker] Fix topic policies update not check message expiry [#15941](https://github.com/apache/pulsar/pull/15941) +- [fix][broker] Fix topic-level replicator rate limiter not init [#15825](https://github.com/apache/pulsar/pull/15825) +- [fix][broker] ManagedLedger metrics fail cause of zero period [#17257](https://github.com/apache/pulsar/pull/17257) +- [fix][broker] Prevent `StackOverFlowException` in SHARED subscription [#16968](https://github.com/apache/pulsar/pull/16968) +- [fix][broker] Fix message ack rate [#16108](https://github.com/apache/pulsar/pull/16108) +- [fix][broker] Fix bug: fail to expose managed ledger client stats to prometheus if bookkeeperClientExposeStatsToPrometheus is true [#16219](https://github.com/apache/pulsar/pull/16219) +- [fix][broker] Fix npe when invoke replaceBookie. [#16239](https://github.com/apache/pulsar/pull/16239) +- [fix][broker] Fail to update partition meta of topic due to ConflictException: subscription already exists for topic [#17488](https://github.com/apache/pulsar/pull/17488) +- [fix][broker] Fix NPE when ledger id not found in `OpReadEntry` [#15837](https://github.com/apache/pulsar/pull/15837) +- [Fix][broker] Fix topic dispatch rate limiter not init on broker-level [#16084](https://github.com/apache/pulsar/pull/16084) +- [opt][broker] Optimize topic policy with HierarchyTopicPolicies about replicatorDispatchRate [#14161](https://github.com/apache/pulsar/pull/14161) +- [fix][broker] Fix the broker close hanged issue. [#17689](https://github.com/apache/pulsar/pull/17689) +- [fix][broker] Fix topic dispatch rate limiter not init on broker-level #16084 [#17000](https://github.com/apache/pulsar/pull/17000) +- [fix][broker] Prevent StackOverFlowException in SHARED subscription [#17053](https://github.com/apache/pulsar/pull/17053) +- [fix][broker] skip mis-configured resource usage(>100%) in load balancer [#16937](https://github.com/apache/pulsar/pull/16937) +- [fix][broker] Fix wrong unit of NIC speed on linux [#15304](https://github.com/apache/pulsar/pull/15304) +- [fix][broker] Fix RawReader hasMessageAvailable returns true when no messages [#16443](https://github.com/apache/pulsar/pull/16443) +- [improve][broker] Expose topic level storage write and read rate metrics [#16855](https://github.com/apache/pulsar/pull/16855) +- [improve][broker] Broker/EntryFilter: make the delay for RESCHEDULED messages configurable (dispatcherFilterRescheduledMessageDelay) [#16602](https://github.com/apache/pulsar/pull/16602) +- [improve][broker] Use OrderedExecutor instead of OrderedScheduler for consumer dispatch [#16115](https://github.com/apache/pulsar/pull/16115) +- [improve][broker] Avoid going through all the consumers to get the message ack owner [#16245](https://github.com/apache/pulsar/pull/16245) +- [improve][broker] Avoid reconnection when a partitioned topic was created concurrently [#16043](https://github.com/apache/pulsar/pull/16043) +- [improve][broker] Cancel the loadShedding task when closing pulsar service [#17632](https://github.com/apache/pulsar/pull/17632) +- [improve][broker] Consolidate Netty channel flushes to mitigate syscall overhead [#16361](https://github.com/apache/pulsar/pull/16361) +- [improve][broker] Improve cursor.getNumberOfEntries if isUnackedRangesOpenCacheSetEnabled=true [#17465](https://github.com/apache/pulsar/pull/17465) +- [improve][broker] Make MessageRedeliveryController work more efficiently [#17804](https://github.com/apache/pulsar/pull/17804) +- [improve][broker] Make PulsarWebResource#getOwnerFromPeerClusterList async. [#15940](https://github.com/apache/pulsar/pull/15940) +- [improve][broker] Optimise msgOutCounter and bytesOutCounter (#16214) [#16286](https://github.com/apache/pulsar/pull/16286) +- [improve][broker] Recycle OpReadEntry in some corner cases [#16399](https://github.com/apache/pulsar/pull/16399) +- [improve][broker] Reduce the consumers list sort by priority level [#16243](https://github.com/apache/pulsar/pull/16243) +- [improve][broker] Reduce the re-schedule message read operation for PersistentDispatcherMultipleConsumers [#16241](https://github.com/apache/pulsar/pull/16241) +- [improve][broker] Use LinkedHashSet for config items of type Set to preserve elements order [#16138](https://github.com/apache/pulsar/pull/16138) +- [improve][broker] Use shared broker client scheduled executor provider [#16338](https://github.com/apache/pulsar/pull/16338) +- [improve][broker] Remove unnecessary lock on the stats thread [#16983](https://github.com/apache/pulsar/pull/16983) +- [improve][broker] Tidy update subscriptions dispatcher rate-limiter [#16778](https://github.com/apache/pulsar/pull/16778) +- [improve][broker] PIP-149: Make resetCursor async (#16355) [#16774](https://github.com/apache/pulsar/pull/16774) +- [improve][broker] added loadBalancerReportUpdateMinIntervalMillis and ignores memory usage in getMaxResourceUsage() [#17598](https://github.com/apache/pulsar/pull/17598) +- [cleanup][broker] Follow up on #16968 to restore some behavior in PersistentDispatcherMultipleConsumers class [#17018](https://github.com/apache/pulsar/pull/17018) + +### Metadata & Storage +- [fix][metadata] Fix LockTimeout when storePut on the same key concurrently in RocksdbMetadataStore [#16005](https://github.com/apache/pulsar/pull/16005) +- [fix][metadata] Cleanup state when lock revalidation gets `LockBusyException` [#17700](https://github.com/apache/pulsar/pull/17700) +- [fix][metadata] Don't execute Bookkeeper metadata callbacks on Zookeeper event thread [#17620](https://github.com/apache/pulsar/pull/17620) +- [fix][metadata] Set revalidateAfterReconnection true for certain failures [#17664](https://github.com/apache/pulsar/pull/17664) +- [improve][metadata] Update namespace policies would cause metadata-store thread waiting too long [#16438](https://github.com/apache/pulsar/pull/16438) +- [fix][storage] Fix offload read handle NPE. [#17478](https://github.com/apache/pulsar/pull/17478) +- [fix][storage] Fix OpAddEntry release error when exception in ManagedLedgerInterceptor [#17394](https://github.com/apache/pulsar/pull/17394) +- [fix][tableview] Fixed ack failure in ReaderImpl due to null messageId [#17828](https://github.com/apache/pulsar/pull/17828) + +### Transaction +- [fix][txn] Cmd-Subscribe and Cmd-Producer will not succeed even after 100 retries [#16248](https://github.com/apache/pulsar/pull/16248) +- [fix][txn] Set TC state is Ready after open MLTransactionMetadataStore completely. [#13957](https://github.com/apache/pulsar/pull/13957) +- [fix][txn] Ack the same batch message different batchIndex with transaction [#16032](https://github.com/apache/pulsar/pull/16032) +- [fix][txn] Allow producer enable send timeout in transaction [#16519](https://github.com/apache/pulsar/pull/16519) Review Comment: ```suggestion - [fix][txn] Allow producer to enable send timeout in transaction [#16519](https://github.com/apache/pulsar/pull/16519) ``` -- 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]
