momo-jun commented on code in PR #670: URL: https://github.com/apache/pulsar-site/pull/670#discussion_r1286698571
########## release-notes/versioned/pulsar-3.1.0.md: ########## @@ -0,0 +1,282 @@ +--- +id: pulsar-3.1.0 +title: Apache Pulsar 3.1.0 +sidebar_label: Apache Pulsar 3.1.0 +--- + +#### 2023-08-10 + +### Important notice +- + +### PIPs +- PIP-275:Introduce topicOrderedExecutorThreadNum to deprecate numWorkerThreadsForNonPersistentTopic [#20504](https://github.com/apache/pulsar/pull/20504) +- PIP-255 Part-2: Make the partition assignment strategy pluggable [#20537](https://github.com/apache/pulsar/pull/20537) + +### Broker +- Fix MessageDeduplication throw NPE when enable broker dedup and set namespace disable deduplication. [#20905](https://github.com/apache/pulsar/pull/20905) +- In replication scenario, remote consumer could not be registered if there has no message was sent [#20888](https://github.com/apache/pulsar/pull/20888) +- Fix IndexOutOfBoundsException in the CompactedTopicUtils [#20887](https://github.com/apache/pulsar/pull/20887) +- Add annotation for topic compaction strategy [#20858](https://github.com/apache/pulsar/pull/20858) +- Fix inconsensus namespace policies by `getPoliciesIfCached` [#20855](https://github.com/apache/pulsar/pull/20855) +- Pass `bytesToRead` when reading compacted entries [#20850](https://github.com/apache/pulsar/pull/20850) +- Fix the built-in admin failed to delete a topic with a custom authz provider [#20848](https://github.com/apache/pulsar/pull/20848) +- Avoid print redirect exception log when get list from bundle [#20846](https://github.com/apache/pulsar/pull/20846) +- Inconsistent behaviour for topic auto_creation [#20843](https://github.com/apache/pulsar/pull/20843) +- Follow up 4196 use `PulsarByteBufAllocator` handle OOM [#20837](https://github.com/apache/pulsar/pull/20837) +- Add broker filter sync method back to guarantee the API compatibility [#20826](https://github.com/apache/pulsar/pull/20826) +- Fix direct memory leak by delayed index OutOfDirectMemory [#20823](https://github.com/apache/pulsar/pull/20823) +- Avoid infinite bundle unloading [#20822](https://github.com/apache/pulsar/pull/20822) +- Add the MessageExpirer interface to make code clear [#20800](https://github.com/apache/pulsar/pull/20800) +- Broker failed to load v1 namespace resources cache [#20783](https://github.com/apache/pulsar/pull/20783) +- Can not receive any messages after switch to standby cluster [#20767](https://github.com/apache/pulsar/pull/20767) +- Fix get topic policies as null during clean cache [#20763](https://github.com/apache/pulsar/pull/20763) +- Fix typo in ServerCnx.java [#20762](https://github.com/apache/pulsar/pull/20762) +- Avoid throwing RestException in BrokerService [#20761](https://github.com/apache/pulsar/pull/20761) +- Call ServerCnxcloseProducer from correct thread [#20747](https://github.com/apache/pulsar/pull/20747) +- Ignore openIDTokenIssuerTrustCertsFilePath conf when blank [#20745](https://github.com/apache/pulsar/pull/20745) +- Support pluggable topic compaction service - part2 [#20718](https://github.com/apache/pulsar/pull/20718) +- Revert "Skip loading broker interceptor when disableBrokerInterceptors is true 20422" [#20710](https://github.com/apache/pulsar/pull/20710) +- Gracefully shutdown does not work with admin cli in standalone [#20709](https://github.com/apache/pulsar/pull/20709) +- Improve CompactedTopicImpl lock [#20697](https://github.com/apache/pulsar/pull/20697) +- Added the skipped message handler for ServiceUnitStateChannel [#20677](https://github.com/apache/pulsar/pull/20677) +- Make ExtensibleLoadManagerImpl's broker filter pure async [#20666](https://github.com/apache/pulsar/pull/20666) +- Add log on topic or subscription when enable rate limit. [#20660](https://github.com/apache/pulsar/pull/20660) +- Make get list from bundle Admin API async [#20652](https://github.com/apache/pulsar/pull/20652) +- Fix the publish latency spike from the contention of MessageDeduplication [#20647](https://github.com/apache/pulsar/pull/20647) +- Support pluggable topic compaction service - part1 [#20645](https://github.com/apache/pulsar/pull/20645) +- Fix get owned service units NPE [#20625](https://github.com/apache/pulsar/pull/20625) +- Topic policy can not be work well if replay policy message has any exception. [#20613](https://github.com/apache/pulsar/pull/20613) +- Fix the publish latency spike issue with large number of producers [#20607](https://github.com/apache/pulsar/pull/20607) +- AuthenticationFilter.doFilter [#20598](https://github.com/apache/pulsar/pull/20598) +- Fix NPE when reset Replicator's cursor by position. [#20597](https://github.com/apache/pulsar/pull/20597) +- Add consumer-id into the log when doing subscribe. [#20568](https://github.com/apache/pulsar/pull/20568) +- Release orphan replicator after topic closed [#20567](https://github.com/apache/pulsar/pull/20567) +- New load balancer system topic should not be auto-created now [#20566](https://github.com/apache/pulsar/pull/20566) +- Remove unused cache executor in `PulsarService` [#20563](https://github.com/apache/pulsar/pull/20563) +- Handle get owned namespaces admin API in ExtensibleLoadManager [#20552](https://github.com/apache/pulsar/pull/20552) +- Handle heartbeat namespace in ExtensibleLoadManager [#20551](https://github.com/apache/pulsar/pull/20551) +- Validate authz earlier in delete subscription logic [#20549](https://github.com/apache/pulsar/pull/20549) +- Should not throw NotFoundException when metadata already exists. [#20539](https://github.com/apache/pulsar/pull/20539) +- REST Client Producer fails with TLS only [#20535](https://github.com/apache/pulsar/pull/20535) +- Fix redirect loop when using ExtensibleLoadManager and list in bundle admin API [#20528](https://github.com/apache/pulsar/pull/20528) +- Restore solution for certain topic unloading race conditions [#20527](https://github.com/apache/pulsar/pull/20527) +- Emit the namespace bundle listener event on extensible load manager [#20525](https://github.com/apache/pulsar/pull/20525) +- Choose random thread for consumerFlow in PersistentDispatcherSingleActiveConsumer [#20522](https://github.com/apache/pulsar/pull/20522) +- Disable EntryFilters for system topics [#20514](https://github.com/apache/pulsar/pull/20514) +- Support get/remove permissions for AuthorizationProvider [#20496](https://github.com/apache/pulsar/pull/20496) +- Improve efficiency of checking message deletion [#20490](https://github.com/apache/pulsar/pull/20490) Review Comment: ```suggestion - Improve the efficiency of checking message deletion [#20490](https://github.com/apache/pulsar/pull/20490) ``` ########## release-notes/versioned/pulsar-3.1.0.md: ########## @@ -0,0 +1,282 @@ +--- +id: pulsar-3.1.0 +title: Apache Pulsar 3.1.0 +sidebar_label: Apache Pulsar 3.1.0 +--- + +#### 2023-08-10 + +### Important notice +- + +### PIPs +- PIP-275:Introduce topicOrderedExecutorThreadNum to deprecate numWorkerThreadsForNonPersistentTopic [#20504](https://github.com/apache/pulsar/pull/20504) +- PIP-255 Part-2: Make the partition assignment strategy pluggable [#20537](https://github.com/apache/pulsar/pull/20537) + +### Broker +- Fix MessageDeduplication throw NPE when enable broker dedup and set namespace disable deduplication. [#20905](https://github.com/apache/pulsar/pull/20905) +- In replication scenario, remote consumer could not be registered if there has no message was sent [#20888](https://github.com/apache/pulsar/pull/20888) +- Fix IndexOutOfBoundsException in the CompactedTopicUtils [#20887](https://github.com/apache/pulsar/pull/20887) +- Add annotation for topic compaction strategy [#20858](https://github.com/apache/pulsar/pull/20858) +- Fix inconsensus namespace policies by `getPoliciesIfCached` [#20855](https://github.com/apache/pulsar/pull/20855) +- Pass `bytesToRead` when reading compacted entries [#20850](https://github.com/apache/pulsar/pull/20850) +- Fix the built-in admin failed to delete a topic with a custom authz provider [#20848](https://github.com/apache/pulsar/pull/20848) +- Avoid print redirect exception log when get list from bundle [#20846](https://github.com/apache/pulsar/pull/20846) +- Inconsistent behaviour for topic auto_creation [#20843](https://github.com/apache/pulsar/pull/20843) +- Follow up 4196 use `PulsarByteBufAllocator` handle OOM [#20837](https://github.com/apache/pulsar/pull/20837) +- Add broker filter sync method back to guarantee the API compatibility [#20826](https://github.com/apache/pulsar/pull/20826) +- Fix direct memory leak by delayed index OutOfDirectMemory [#20823](https://github.com/apache/pulsar/pull/20823) +- Avoid infinite bundle unloading [#20822](https://github.com/apache/pulsar/pull/20822) +- Add the MessageExpirer interface to make code clear [#20800](https://github.com/apache/pulsar/pull/20800) +- Broker failed to load v1 namespace resources cache [#20783](https://github.com/apache/pulsar/pull/20783) +- Can not receive any messages after switch to standby cluster [#20767](https://github.com/apache/pulsar/pull/20767) +- Fix get topic policies as null during clean cache [#20763](https://github.com/apache/pulsar/pull/20763) +- Fix typo in ServerCnx.java [#20762](https://github.com/apache/pulsar/pull/20762) +- Avoid throwing RestException in BrokerService [#20761](https://github.com/apache/pulsar/pull/20761) +- Call ServerCnxcloseProducer from correct thread [#20747](https://github.com/apache/pulsar/pull/20747) +- Ignore openIDTokenIssuerTrustCertsFilePath conf when blank [#20745](https://github.com/apache/pulsar/pull/20745) +- Support pluggable topic compaction service - part2 [#20718](https://github.com/apache/pulsar/pull/20718) +- Revert "Skip loading broker interceptor when disableBrokerInterceptors is true 20422" [#20710](https://github.com/apache/pulsar/pull/20710) +- Gracefully shutdown does not work with admin cli in standalone [#20709](https://github.com/apache/pulsar/pull/20709) +- Improve CompactedTopicImpl lock [#20697](https://github.com/apache/pulsar/pull/20697) +- Added the skipped message handler for ServiceUnitStateChannel [#20677](https://github.com/apache/pulsar/pull/20677) +- Make ExtensibleLoadManagerImpl's broker filter pure async [#20666](https://github.com/apache/pulsar/pull/20666) +- Add log on topic or subscription when enable rate limit. [#20660](https://github.com/apache/pulsar/pull/20660) +- Make get list from bundle Admin API async [#20652](https://github.com/apache/pulsar/pull/20652) +- Fix the publish latency spike from the contention of MessageDeduplication [#20647](https://github.com/apache/pulsar/pull/20647) +- Support pluggable topic compaction service - part1 [#20645](https://github.com/apache/pulsar/pull/20645) +- Fix get owned service units NPE [#20625](https://github.com/apache/pulsar/pull/20625) +- Topic policy can not be work well if replay policy message has any exception. [#20613](https://github.com/apache/pulsar/pull/20613) +- Fix the publish latency spike issue with large number of producers [#20607](https://github.com/apache/pulsar/pull/20607) +- AuthenticationFilter.doFilter [#20598](https://github.com/apache/pulsar/pull/20598) +- Fix NPE when reset Replicator's cursor by position. [#20597](https://github.com/apache/pulsar/pull/20597) +- Add consumer-id into the log when doing subscribe. [#20568](https://github.com/apache/pulsar/pull/20568) +- Release orphan replicator after topic closed [#20567](https://github.com/apache/pulsar/pull/20567) +- New load balancer system topic should not be auto-created now [#20566](https://github.com/apache/pulsar/pull/20566) +- Remove unused cache executor in `PulsarService` [#20563](https://github.com/apache/pulsar/pull/20563) +- Handle get owned namespaces admin API in ExtensibleLoadManager [#20552](https://github.com/apache/pulsar/pull/20552) +- Handle heartbeat namespace in ExtensibleLoadManager [#20551](https://github.com/apache/pulsar/pull/20551) +- Validate authz earlier in delete subscription logic [#20549](https://github.com/apache/pulsar/pull/20549) +- Should not throw NotFoundException when metadata already exists. [#20539](https://github.com/apache/pulsar/pull/20539) +- REST Client Producer fails with TLS only [#20535](https://github.com/apache/pulsar/pull/20535) +- Fix redirect loop when using ExtensibleLoadManager and list in bundle admin API [#20528](https://github.com/apache/pulsar/pull/20528) +- Restore solution for certain topic unloading race conditions [#20527](https://github.com/apache/pulsar/pull/20527) +- Emit the namespace bundle listener event on extensible load manager [#20525](https://github.com/apache/pulsar/pull/20525) +- Choose random thread for consumerFlow in PersistentDispatcherSingleActiveConsumer [#20522](https://github.com/apache/pulsar/pull/20522) +- Disable EntryFilters for system topics [#20514](https://github.com/apache/pulsar/pull/20514) +- Support get/remove permissions for AuthorizationProvider [#20496](https://github.com/apache/pulsar/pull/20496) +- Improve efficiency of checking message deletion [#20490](https://github.com/apache/pulsar/pull/20490) +- Reformat property in generateResponseWithEntry [#20481](https://github.com/apache/pulsar/pull/20481) +- Add metric prefix for `topic_load_times` [#20472](https://github.com/apache/pulsar/pull/20472) +- Fix return the earliest position when query position by timestamp. [#20457](https://github.com/apache/pulsar/pull/20457) +- Support revoking permission for AuthorizationProvider [#20456](https://github.com/apache/pulsar/pull/20456) +- Replace String.intern() with Guava Interner [#20432](https://github.com/apache/pulsar/pull/20432) +- Remove uneffective solution for reducing GC pressure [#20428](https://github.com/apache/pulsar/pull/20428) Review Comment: ```suggestion - Remove ineffective solution for reducing GC pressure [#20428](https://github.com/apache/pulsar/pull/20428) ``` -- 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]
