momo-jun commented on code in PR #16340: URL: https://github.com/apache/pulsar/pull/16340#discussion_r912603070
########## 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) +- [fix][txn] Fix transaction REST API redirect issue. [15017](https://github.com/apache/pulsar/pull/15017) +- [improve][txn] support configurable `transactionBufferClientOperationTimeoutInMills` [15011](https://github.com/apache/pulsar/pull/15011) +- [improve][txn] Optimize topic lookup when TC end tx [14991](https://github.com/apache/pulsar/pull/14991) +- [fix][txn] Fix potential NPE in TransactionBufferDisable [14979](https://github.com/apache/pulsar/pull/14979) +- [fix][txn] Fix transaction pendingAckStore asyncMarkDelete [14974](https://github.com/apache/pulsar/pull/14974) +- [fix][txn] Fix potentially unfinished CompletableFuture [14973](https://github.com/apache/pulsar/pull/14973) +- [fix][txn] Fix transaction admin redirect get 500 due to getCause [14965](https://github.com/apache/pulsar/pull/14965) +- [fix][txn] Properly close transaction-buffer-sub non durable cursor [14900](https://github.com/apache/pulsar/pull/14900) +- [fix][txn] Close the transaction buffer when deleting topics [14895](https://github.com/apache/pulsar/pull/14895) +- [fix][txn] Avoid too many ServiceUnitNotReadyException for transaction buffer handler [14894](https://github.com/apache/pulsar/pull/14894) +- [fix][txn] Fix transaction buffer no snapshot close recover reader [14830](https://github.com/apache/pulsar/pull/14830) +- [fix][txn] Fix transaction log recover throw cursor already close [14810](https://github.com/apache/pulsar/pull/14810) +- [fix][txn] Fix cannot enable transaction when is allow auto update schema enabled=fasle [14809](https://github.com/apache/pulsar/pull/14809) +- [fix][txn] Fix some exception handle in transaction buffer [14808](https://github.com/apache/pulsar/pull/14808) +- [fix][txn] Fix transaction buffer recover throw cursor already close [14807](https://github.com/apache/pulsar/pull/14807) +- [fix][txn] Fix transaction buffer recover reader and writer fail [14801](https://github.com/apache/pulsar/pull/14801) +- [fix][txn] Fix pending ack is recovering throw CursorAlreadyClosedxception [14781](https://github.com/apache/pulsar/pull/14781) +- [fix][txn] Fix cursor readPosition is bigger than maxPosition in OpReadEntry [14667](https://github.com/apache/pulsar/pull/14667) + +### Clients + +- [fix][Java] Fixes NPE when TableView handles null value message [15951](https://github.com/apache/pulsar/pull/15951) +- [fix][Python] Fixes reserved keys is not removed when JsonSchema being encoded [15947](https://github.com/apache/pulsar/pull/15947) +- [fix][Java] Fix conversion of `TimestampMillisConversion` has no effect when Jsr310Conversion enabled [15863](https://github.com/apache/pulsar/pull/15863) +- [fix][Python] Fix generated Python protobuf code not compatible with latest protobuf package [15846](https://github.com/apache/pulsar/pull/15846) +- [fix][Java] Fix messages sent by producers without schema cannot be decoded [15622](https://github.com/apache/pulsar/pull/15622) +- [fix][C++] avoid race condition causing double callback on close [15508](https://github.com/apache/pulsar/pull/15508) +- [improve][Java] improve logic when ACK grouping tracker checks duplicated message id [15465](https://github.com/apache/pulsar/pull/15465) +- [improve][Java] Add pending messages information while print the producer stats [15440](https://github.com/apache/pulsar/pull/15440) +- [fix][C++] Wait until event loop terminates when closing the Client [15316](https://github.com/apache/pulsar/pull/15316) +- [fix][Java] Fix negative ack not redelivery [15312](https://github.com/apache/pulsar/pull/15312) +- [improve][admin/client] AsyncHttpConnector doesn't use the system properties configured [15307](https://github.com/apache/pulsar/pull/15307) +- [fix][Java] TableView should cache created readers [15178](https://github.com/apache/pulsar/pull/15178) +- [fix][Java] Fix performance regression with message listener [15162](https://github.com/apache/pulsar/pull/15162) +- [fix][C++] Fix UnknownError might be returned for a partitioned producer [15161](https://github.com/apache/pulsar/pull/15161) +- [fix][C++] Fix single message metadata not set correctly [15072](https://github.com/apache/pulsar/pull/15072) +- [improve][Python] Generate universal2 wheel files for MacOS [15054](https://github.com/apache/pulsar/pull/15054) +- [improve][Python] Added build for wheels on Alpine linux [15016](https://github.com/apache/pulsar/pull/15016) Review Comment: ```suggestion - [improve][Python] Added build for wheels on Alpine Linux [15016](https://github.com/apache/pulsar/pull/15016) ``` -- 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]
