GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [improve][ci] Run CI for the 4.2.6 backports to branch-4.2 (do not merge) by lhotari · Pull Request #27681 · apache/pulsar

Conversation

@lhotari

@lhotari lhotari commented Nov 21, 2026

Copy link
Copy Markdown
Member

Motivation

CI run for the 4.2.6 backports to branch-4.2 (backport session 2026-11-4.2.6-4.0.15). Do not merge. After CI passes, the commits are pushed to branch-4.2 directly and this PR is closed.

Modifications

153 cherry-picks from master, in master commit order:

  • [improve][client] Make Consumer.resume() eagerly top up the broker's permit window #26919 [improve][client] Make Consumer.resume() eagerly top up the broker's permit window
  • [fix][broker] Preserve non-durable cursor ownership during cleanup #26925 [fix][broker] Preserve non-durable cursor ownership during cleanup
  • [improve][broker] Add a random value upto 5% to avoid rollover multiple cursor ledgers  #26542 [improve][broker] Add a random value upto 5% to avoid rollover multiple cursor ledgers
  • [fix][broker] Shared subscription stalls forever on a chunked message #26396 [fix][broker] Shared subscription stalls forever on a chunked message
  • [improve][broker] improve readability for the class TopicPolicyListenerWrapper #26277 [improve][broker] improve readability for the class TopicPolicyListenerWrapper
  • [fix][ml] Don't drop a durable cursor reset when an ack is queued behind it #26305 [fix][ml] Don't drop a durable cursor reset when an ack is queued behind it
  • [fix][fn] Honour consumerCryptoFailureAction in the Python function runtime #26490 [fix][fn] Honour consumerCryptoFailureAction in the Python function runtime
  • [fix][managed-ledger] Honor batch-index cap in isCursorDataFullyPersistable #26553 [fix][managed-ledger] Honor batch-index cap in isCursorDataFullyPersistable
  • [fix][broker] Fail compacted reads when the compacted ledger is missing #26631 [fix][broker] Fail compacted reads when the compacted ledger is missing
  • [fix][broker] Honor secondary tenant admin roles in HTTP admin requests #26911 [fix][broker] Honor secondary tenant admin roles in HTTP admin requests
  • [fix][broker] Reject replicated status for the compaction subscription #27037 [fix][broker] Reject replicated status for the compaction subscription
  • [fix][test] Fix flaky NegativeAcksTest.testNegativeAcksWithBackoff #24342 [fix][test] Fix flaky NegativeAcksTest.testNegativeAcksWithBackoff
  • [fix][fn] Only load crypto_key_reader for python function when cryptoKeyReaderConfig is provided #24783 [fix][fn] Only load crypto_key_reader for python function when cryptoKeyReaderConfig is provided
  • [fix][broker] Don't continue loading a topic after its load has timed out #20540 [fix][broker] Don't continue loading a topic after its load has timed out
  • [fix][ml] Fix races in managed ledger initialization timeout handling #23470 [fix][ml] Fix races in managed ledger initialization timeout handling
  • [improve][conf] Document managedLedgerForceRecovery and schemaLedgerForceRecovery in broker.conf and standalone.conf #24672 [improve][conf] Document managedLedgerForceRecovery and schemaLedgerForceRecovery in broker.conf and standalone.conf
  • [fix][client] Client interceptors close method not called after producer/consumer/reader close #23830 [fix][client] Client interceptors close method not called after producer/consumer/reader close
  • [fix][broker] Don't allow creating a non-persistent partitioned topic with '-partition-' in name #23488 [fix][broker] Don't allow creating a non-persistent partitioned topic with '-partition-' in name
  • [fix][proxy] Answer failed partition metadata and lookup requests with their own response type #26607 [fix][proxy] Answer failed partition metadata and lookup requests with their own response type
  • [fix][ml] Move the read position atomically when a replay is at it #22803 [fix][ml] Move the read position atomically when a replay is at it
  • [fix][ml] Materialize compressed ManagedCursorInfo before releasing the decompressed buffer #27050 [fix][ml] Materialize compressed ManagedCursorInfo before releasing the decompressed buffer
  • [fix][broker] Reply to failed GetLastMessageId with the original request id #27053 [fix][broker] Reply to failed GetLastMessageId with the original request id
  • [fix][ml] Run the add-entry timeout check on the managed ledger executor #27056 [fix][ml] Run the add-entry timeout check on the managed ledger executor
  • [fix][broker] Serialize outgoing commands before passing them to broker interceptors #27054 [fix][broker] Serialize outgoing commands before passing them to broker interceptors
  • [fix][fn] Send Go function logs to the log topic periodically and on shutdown #22516 [fix][fn] Send Go function logs to the log topic periodically and on shutdown
  • [fix][txn] Fix PendingAckHandleImpl potential thread safety issue #22166 [fix][txn] Fix PendingAckHandleImpl potential thread safety issue
  • [fix][client] Queue acks without grouping while the consumer is reconnecting #21928 [fix][client] Queue acks without grouping while the consumer is reconnecting
  • [fix][broker] Don't swap the local metadata store's synchronizer when configurationMetadataSyncEventTopic is updated on a shared store #22695 [fix][broker] Don't swap the local metadata store's synchronizer when configurationMetadataSyncEventTopic is updated on a shared store
  • [fix][ml] Don't trim ledgers while cursors are lazily recovering #20814 [fix][ml] Don't trim ledgers while cursors are lazily recovering
  • [fix][client] Read the OAuth2 private key without requiring a content type #20824 [fix][client] Read the OAuth2 private key without requiring a content type
  • [fix][client] Close the producer when its encryption key cannot be loaded #27024 [fix][client] Close the producer when its encryption key cannot be loaded
  • [fix][proxy] Copy GetTopicsOfNamespace properties before the broker connection completes #27055 [fix][proxy] Copy GetTopicsOfNamespace properties before the broker connection completes
  • [fix][ml] Fix the estimated backlog of lazily recovered cursors #27060 [fix][ml] Fix the estimated backlog of lazily recovered cursors
  • [fix][meta] Reload the bookie info on a cache miss in PulsarRegistrationClient #27052 [fix][meta] Reload the bookie info on a cache miss in PulsarRegistrationClient
  • [fix][client] Stop the partition update timer of a partitioned producer that ended during creation #27061 [fix][client] Stop the partition update timer of a partitioned producer that ended during creation
  • [fix][txn] Treat a concurrent duplicate transaction status update as success #20053 [fix][txn] Treat a concurrent duplicate transaction status update as success
  • [fix][client] Flush the pending acks before the flow command when the consumer reconnects #27062 [fix][client] Flush the pending acks before the flow command when the consumer reconnects
  • [fix][client] Fix stale batch ACKs causing skipped messages after seek #27067 [fix][client] Fix stale batch ACKs causing skipped messages after seek
  • [fix][client] Fix pattern consumers that stop updating topics when subscribing to a new topic fails #27066 [fix][client] Fix pattern consumers that stop updating topics when subscribing to a new topic fails
  • [fix][client] Fix consumer discarding all messages after redelivering during a reconnection #20032 [fix][client] Fix consumer discarding all messages after redelivering during a reconnection
  • [fix][broker] Don't share the dispatcher's FilterContext with analyzeBacklog #20246 [fix][broker] Don't share the dispatcher's FilterContext with analyzeBacklog
  • [fix][broker] Start packages management before the function worker service #16502 [fix][broker] Start packages management before the function worker service
  • [fix][client] Fix DLQ sending a released message when poolMessages is enabled #13280 [fix][client] Fix DLQ sending a released message when poolMessages is enabled
  • [fix][client] Flush the pending acks before the zero-queue permits on reconnect #27087 [fix][client] Flush the pending acks before the zero-queue permits on reconnect
  • [fix][ml] Discard a ledger created after its creation was given up on #16647 [fix][ml] Discard a ledger created after its creation was given up on
  • [fix][client] Preserve pooled heap message data across repeated reads #27097 [fix][client] Preserve pooled heap message data across repeated reads
  • [fix][test] Fix Mockito stubbing race in NamespaceServiceSplitFailureTest #27090 [fix][test] Fix Mockito stubbing race in NamespaceServiceSplitFailureTest
  • [fix][test] Fix flaky ZKMetadataStoreBatchIOperationTest.testReceivedHugeResponse #27122 [fix][test] Fix flaky ZKMetadataStoreBatchIOperationTest.testReceivedHugeResponse
  • [fix][broker] Fix Key_Shared replay hash count races during mark-delete cleanup #27109 [fix][broker] Fix Key_Shared replay hash count races during mark-delete cleanup
  • [fix][client] Don't clear shared broker entry metadata when recycling a pooled message #27098 [fix][client] Don't clear shared broker entry metadata when recycling a pooled message
  • [fix][client][txn] Fix client connection closed before using #22749 [fix][client][txn] Fix client connection closed before using
  • [fix][client] Fix new topics and partitions not receiving messages after resume #27063 [fix][client] Fix new topics and partitions not receiving messages after resume
  • [fix][ml] Fix ManagedCursor missing active-cursor registration during concurrent state changes #27107 [fix][ml] Fix ManagedCursor missing active-cursor registration during concurrent state changes
  • [fix][broker] Clear pending read flags when a read fails before the cursor takes ownership #27059 [fix][broker] Clear pending read flags when a read fails before the cursor takes ownership
  • [fix][broker] Return errors for discarded ACKs with receipts #27128 [fix][broker] Return errors for discarded ACKs with receipts
  • [improve][broker] Make entry cache copying dynamically configurable #27148 [improve][broker] Make entry cache copying dynamically configurable
  • [fix][sec] Upgrade java-jwt to 4.6.2 and fail OIDC authentication on out-of-range timestamps #27185 [fix][sec] Upgrade java-jwt to 4.6.2 and fail OIDC authentication on out-of-range timestamps
  • [fix][test] Fix flaky DeadLetterTopicTest.testPossibleToDeadLetterEntryIsRemovedWhenRedeliveringABatchMessageId #27152 [fix][test] Fix flaky DeadLetterTopicTest.testPossibleToDeadLetterEntryIsRemovedWhenRedeliveringABatchMessageId
  • [fix][test] Fix flaky ManagedLedgerTest.testManagedLedgerWithCreateLedgerTimeOut #27194 [fix][test] Fix flaky ManagedLedgerTest.testManagedLedgerWithCreateLedgerTimeOut
  • [fix][broker] Support schema-less auto-produce registration #27111 [fix][broker] Support schema-less auto-produce registration
  • [fix][ml] Fix managed ledger factory shutdown races and timeouts #27215 [fix][ml] Fix managed ledger factory shutdown races and timeouts
  • [fix][broker] Prevent mixed-durability subscription creation races #27214 [fix][broker] Prevent mixed-durability subscription creation races
  • [fix][broker] Preserve commands across broker interceptors #27206 [fix][broker] Preserve commands across broker interceptors
  • [fix][client] Await each batch reconsumeLater #27162 [fix][client] Await each batch reconsumeLater
  • [fix][client] Close interceptors once after growth #27163 [fix][client] Close interceptors once after growth
  • [fix][client] Resume sending after messages awaiting schema time out #27203 [fix][client] Resume sending after messages awaiting schema time out
  • [fix][client] Honor reader autoUpdatePartitions #27168 [fix][client] Honor reader autoUpdatePartitions
  • [fix][client] Reschedule the negative ack timer when a nack is due earlier #27106 [fix][client] Reschedule the negative ack timer when a nack is due earlier
  • [fix][admin] Keep sharedResources in clone() #27171 [fix][admin] Keep sharedResources in clone()
  • [fix][ml] Preserve cursor position updates during activation #27205 [fix][ml] Preserve cursor position updates during activation
  • [fix][txn] Stop pending ack replay from hot-looping on read failures #26380 [fix][txn] Stop pending ack replay from hot-looping on read failures
  • [fix][fn] Don't fail a function worker's start when another worker creates the coordination subscription first #27267 [fix][fn] Don't fail a function worker's start when another worker creates the coordination subscription first
  • [fix][client] Keep the transaction of a cumulative ack on a multi-topics consumer #27160 [fix][client] Keep the transaction of a cumulative ack on a multi-topics consumer
  • [fix][client] Keep cumulative retry properties #27161 [fix][client] Keep cumulative retry properties
  • [fix][client] Fix key-based batch sort overflow #27164 [fix][client] Fix key-based batch sort overflow
  • [fix][broker] Close the producer of a geo-replicator stopped while it starts #27273 [fix][broker] Close the producer of a geo-replicator stopped while it starts
  • [fix][broker] Make package metadata updates visible at once on every broker #27279 [fix][broker] Make package metadata updates visible at once on every broker
  • [fix][ml] Close abandoned managed ledger initialization resources #27212 [fix][ml] Close abandoned managed ledger initialization resources
  • [fix][client] Return only readable bytes from heap messages #27217 [fix][client] Return only readable bytes from heap messages
  • [fix][client] Fail TC start when txn is disabled #27169 [fix][client] Fail TC start when txn is disabled
  • [fix][test] Fix KeySharedSubscriptionTest hang caused by a leaked default message TTL #27296 [fix][test] Fix KeySharedSubscriptionTest hang caused by a leaked default message TTL
  • [fix][ml] Complete automatic offload when its background task fails #27290 [fix][ml] Complete automatic offload when its background task fails
  • [fix][broker] Fail a schema-less AUTO_PRODUCE_BYTES send at once instead of retrying it until the send timeout #27312 [fix][broker] Fail a schema-less AUTO_PRODUCE_BYTES send at once instead of retrying it until the send timeout
  • [fix][client] Don't return pre-redeliver messages from a multi-topics consumer's receive() #27301 [fix][client] Don't return pre-redeliver messages from a multi-topics consumer's receive()
  • [fix][client] Preserve batch-index ACKs during concurrent flush #27146 [fix][client] Preserve batch-index ACKs during concurrent flush
  • [fix][broker] Fix replication stuck on a schema-less message to a remote topic with an enforced schema #27314 [fix][broker] Fix replication stuck on a schema-less message to a remote topic with an enforced schema
  • [fix][broker] Answer lookups waiting for a bundle owner when the table view refills after a session is reestablished #27317 [fix][broker] Answer lookups waiting for a bundle owner when the table view refills after a session is reestablished
  • [fix][client] Don't leak flow permits when a multi-topics consumer with a listener drops queued messages #27278 [fix][client] Don't leak flow permits when a multi-topics consumer with a listener drops queued messages
  • [fix][test] Avoid premature batch flushes in ProduceWithMessageIdTest #27326 [fix][test] Avoid premature batch flushes in ProduceWithMessageIdTest
  • [fix][ml] Retry a failed read on the bookies a cached read handle's ledger was re-replicated to #27147 [fix][ml] Retry a failed read on the bookies a cached read handle's ledger was re-replicated to
  • [fix][test] Fix ServerCnxTest.testSendWithoutSchemaVersionFromAutoProduceBytesProducer failing since #27314 #27331 [fix][test] Fix ServerCnxTest.testSendWithoutSchemaVersionFromAutoProduceBytesProducer failing since [fix][broker] Fix replication stuck on a schema-less message to a remote topic with an enforced schema #27314
  • [fix][client] Send pending acks before listener and resume permits on reconnect #27200 [fix][client] Send pending acks before listener and resume permits on reconnect
  • [fix][client] Wait for the first key load before completing the producer creation #27112 [fix][client] Wait for the first key load before completing the producer creation
  • [fix][meta] Fix leader elections settling on a lock deleted while they read or write it #27321 [fix][meta] Fix leader elections settling on a lock deleted while they read or write it
  • [fix][broker] Notify a namespace bundle's ownership once when concurrent lookups acquire it #27347 [fix][broker] Notify a namespace bundle's ownership once when concurrent lookups acquire it
  • [fix][test] Fix flaky TransactionBufferClientTest.testTransactionBufferLookUp #27349 [fix][test] Fix flaky TransactionBufferClientTest.testTransactionBufferLookUp
  • [fix][meta] Recover bookie watcher notifications after failed reads #27204 [fix][meta] Recover bookie watcher notifications after failed reads
  • [fix][client] Fix ACK timeout backoff deadlocks during receive and redelivery #27065 [fix][client] Fix ACK timeout backoff deadlocks during receive and redelivery
  • [fix][test] Use non-expiring tokens in AuthenticationProviderListTest.testAuthenticateHttpRequest #27400 [fix][test] Use non-expiring tokens in AuthenticationProviderListTest.testAuthenticateHttpRequest
  • [fix][test] Fix flaky OpportunisticStripingTest.testOpportunisticStriping #27402 [fix][test] Fix flaky OpportunisticStripingTest.testOpportunisticStriping
  • [fix][test] Fix flaky ReplicatorTest.testReplicatorProducerNameWithUserDefinedReplicatorPrefix #27407 [fix][test] Fix flaky ReplicatorTest.testReplicatorProducerNameWithUserDefinedReplicatorPrefix
  • [fix][broker] Match Basic auth prefix in any locale #27358 [fix][broker] Match Basic auth prefix in any locale
  • [fix][test] Fix flaky ResourceGroupUsageAggregationTest.testProduceConsumeUsageOnRG #27446 [fix][test] Fix flaky ResourceGroupUsageAggregationTest.testProduceConsumeUsageOnRG
  • [fix][schema] Exclude deleted schema versions from recovery results #27002 [fix][schema] Exclude deleted schema versions from recovery results
  • [fix][client] Reject relative times whose conversion to seconds overflows #27464 [fix][client] Reject relative times whose conversion to seconds overflows
  • [fix][sec] Upgrade transitive Apache Kerby modules to 2.1.2 to address CVE-2026-57914 #27486 [fix][sec] Upgrade transitive Apache Kerby modules to 2.1.2 to address CVE-2026-57914
  • [improve][misc] Mask more sensitive values in apply-config-from-env.py output #27488 [improve][misc] Mask more sensitive values in apply-config-from-env.py output
  • [fix][test] Scope retention test settings to its namespace and topic #27492 [fix][test] Scope retention test settings to its namespace and topic
  • [fix][client] Don't keep a consumer whose subscription failed before the client registered it #27478 [fix][client] Don't keep a consumer whose subscription failed before the client registered it
  • [fix][client] Fail connection requests on a closed connection pool instead of never completing #27514 [fix][client] Fail connection requests on a closed connection pool instead of never completing
  • [fix][broker] Don't block the load manager channel's event thread on load data tombstones #27519 [fix][broker] Don't block the load manager channel's event thread on load data tombstones
  • [fix][broker] Don't let the leader's bundle-data write recreate the data of a bundle it just removed #27521 [fix][broker] Don't let the leader's bundle-data write recreate the data of a bundle it just removed
  • [fix][broker] Keep the broker registered after dynamic loadManagerClassName changes #27474 [fix][broker] Keep the broker registered after dynamic loadManagerClassName changes
  • [fix][client] Fail a batched send whose producer ends before the message is batched #27529 [fix][client] Fail a batched send whose producer ends before the message is batched
  • [fix][broker] Don't lose the topic changes made while a topic list watcher lists its initial topics #27525 [fix][broker] Don't lose the topic changes made while a topic list watcher lists its initial topics
  • [fix][test] Fix flaky TransactionTest.testTakeSnapshotBeforeBuildTxnProducer #27524 [fix][test] Fix flaky TransactionTest.testTakeSnapshotBeforeBuildTxnProducer
  • [fix][test] Fix flaky EntryCacheManagerTest.simple #27523 [fix][test] Fix flaky EntryCacheManagerTest.simple
  • [fix][client] Expire cached OAuth2 tokens before the broker sees them expired #27522 [fix][client] Expire cached OAuth2 tokens before the broker sees them expired
  • [fix][meta] Release a resource lock after the update in flight completes #27530 [fix][meta] Release a resource lock after the update in flight completes
  • [fix][broker] Remove a non-persistent subscription before acknowledging the close of its last consumer #27549 [fix][broker] Remove a non-persistent subscription before acknowledging the close of its last consumer
  • [fix][broker] Register the extensible load manager's unload and split waits before publishing the event #27550 [fix][broker] Register the extensible load manager's unload and split waits before publishing the event
  • [fix][broker] Request TLS client certificates only when they are required or used #27046 [fix][broker] Request TLS client certificates only when they are required or used
  • [fix][broker] Release pending acks when a replicated subscription update moves mark-delete #27415 [fix][broker] Release pending acks when a replicated subscription update moves mark-delete
  • [fix][test] Fix flaky testAccumulativeStats in NonPersistentTopicTest and PersistentTopicTest #27552 [fix][test] Fix flaky testAccumulativeStats in NonPersistentTopicTest and PersistentTopicTest
  • [fix][test] Fix flaky BrokerEntryCacheTest.testTailingReadsClearsCacheAfterCacheTimeout #27562 [fix][test] Fix flaky BrokerEntryCacheTest.testTailingReadsClearsCacheAfterCacheTimeout
  • [fix][fn] Exit promptly when a function instance is stopped during its setup #27559 [fix][fn] Exit promptly when a function instance is stopped during its setup
  • [fix][ml] Complete a cursor delete that finds the cursor already being deleted #27563 [fix][ml] Complete a cursor delete that finds the cursor already being deleted
  • [fix][test] Fix flaky OpenTelemetryServiceTest.testJvmRuntimeMetrics #27565 [fix][test] Fix flaky OpenTelemetryServiceTest.testJvmRuntimeMetrics
  • [fix][client] Reserve consumer memory before enqueueing the message #27566 [fix][client] Reserve consumer memory before enqueueing the message
  • [fix][client] Release a timed-out send's memory and permit before completing it #27567 [fix][client] Release a timed-out send's memory and permit before completing it
  • [fix][broker] Release pending acks when persisting an expiry mark-delete fails #27416 [fix][broker] Release pending acks when persisting an expiry mark-delete fails
  • [fix][test] Fix Mockito stubbing race in NamespaceServiceSplitFailureTest that breaks later metrics tests #27582 [fix][test] Fix Mockito stubbing race in NamespaceServiceSplitFailureTest that breaks later metrics tests
  • [fix][test] Fix flaky CompactionTest.testReadCompactedAfterRecoveryRestoredDeletedCompactedLedger #27586 [fix][test] Fix flaky CompactionTest.testReadCompactedAfterRecoveryRestoredDeletedCompactedLedger
  • [fix][test] Fix flaky BatchMessageIndexAckTest.testBatchMessageIndexAckForSharedSubscription #27584 [fix][test] Fix flaky BatchMessageIndexAckTest.testBatchMessageIndexAckForSharedSubscription
  • [fix][test] Fix flaky NonPersistentTopicTest.testClosingLastConsumerRemovesSubscriptionBeforeReturning #27585 [fix][test] Fix flaky NonPersistentTopicTest.testClosingLastConsumerRemovesSubscriptionBeforeReturning
  • [fix][broker] Delete the schema and topic policies when another cluster deletes the partitioned topic metadata first during GC #27588 [fix][broker] Delete the schema and topic policies when another cluster deletes the partitioned topic metadata first during GC
  • [fix][broker] Propagate migration policy read failures during topic loading #27579 [fix][broker] Propagate migration policy read failures during topic loading
  • [fix][client] Resume a multi-topics consumer's paused partitions while a batch receive waits for messages #27597 [fix][client] Resume a multi-topics consumer's paused partitions while a batch receive waits for messages
  • [fix][fn] Preserve schemaProperties in SinkConfigUtils inputSpecs round-trip #27411 [fix][fn] Preserve schemaProperties in SinkConfigUtils inputSpecs round-trip
  • [fix][broker] Report metadata write failures when creating partitioned topics #27606 [fix][broker] Report metadata write failures when creating partitioned topics
  • [fix][broker] Don't read the metadata store while holding the broker-selection lock in ModularLoadManagerImpl #27610 [fix][broker] Don't read the metadata store while holding the broker-selection lock in ModularLoadManagerImpl
  • [fix][broker] Return 409 instead of 500 when concurrent requests create the same tenant #27611 [fix][broker] Return 409 instead of 500 when concurrent requests create the same tenant
  • [fix][meta] Fix skipped watch restoration and lock revalidation when probes detect a new ZooKeeper session #27620 [fix][meta] Fix skipped watch restoration and lock revalidation when probes detect a new ZooKeeper session
  • [fix][meta] Fix broker registration loss when retries close ZooKeeper sessions recovered during backoff #27621 [fix][meta] Fix broker registration loss when retries close ZooKeeper sessions recovered during backoff
  • [fix][broker] Fix partitioned stats requests hanging on topic existence check failures #27623 [fix][broker] Fix partitioned stats requests hanging on topic existence check failures
  • [fix][broker] Fix lost updates during concurrent namespace policy changes #27624 [fix][broker] Fix lost updates during concurrent namespace policy changes
  • [fix][broker] Fix deadlock in Key_Shared mode when keySharedUnblockingIntervalMs=0 #27618 [fix][broker] Fix deadlock in Key_Shared mode when keySharedUnblockingIntervalMs=0
  • [fix][ml] Recover cursor initialization on empty terminated ledgers #27382 [fix][ml] Recover cursor initialization on empty terminated ledgers
  • [fix][meta] Preserve lock state and refresh reads during reacquisition #27384 [fix][meta] Preserve lock state and refresh reads during reacquisition
  • [fix][ml] Release terminal read ownership before notifying callbacks #27381 [fix][ml] Release terminal read ownership before notifying callbacks
  • [fix][test] Fix flaky SchemaCompatibilityCheckTest.testIsAutoUpdateSchema #27656 [fix][test] Fix flaky SchemaCompatibilityCheckTest.testIsAutoUpdateSchema
  • [fix][broker] Don't let a stalled __change_events reader hang topic policy updates and topic deletion, and close the reader a failed policy cache init leaks #27369 [fix][broker] Don't let a stalled __change_events reader hang topic policy updates and topic deletion, and close the reader a failed policy cache init leaks
  • [fix][broker] Fix message dispatch failures caused by ArrayIndexOutOfBoundsException in InMemoryRedeliveryTracker #27064 [fix][broker] Fix message dispatch failures caused by ArrayIndexOutOfBoundsException in InMemoryRedeliveryTracker

Fixes for CI failures are added as fixup! commits and squashed into the matching cherry-pick before the final push; the tested tree and the pushed tree are identical.

Verifying this change

  • Make sure that the change passes the CI checks.

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Asthenia0412 and others added 30 commits November 20, 2026 23:28
@Asthenia0412 Asthenia0412 @lhotari
[improve][client] Make Consumer.resume() eagerly top up the broker's …
b71b535
…permit window (#26919)

Co-authored-by: Asthenia0412 <[email protected]>
Co-authored-by: Asthenia0412 <[email protected]>
(cherry picked from commit 722adeb)
@FlorentinDUBOIS @lhotari
[fix][broker] Preserve non-durable cursor ownership during cleanup (#…
c067c18
…26925)

Signed-off-by: Florentin Dubois <[email protected]>
(cherry picked from commit c9b020b)
@TakaHiR07 fanjianye
@merlimat @lhotari
[improve][broker] Add a random value upto 5% to avoid rollover multip…
263dcaf
…le cursor ledgers (#26542)

Co-authored-by: fanjianye <[email protected]>
Co-authored-by: Matteo Merli <[email protected]>
(cherry picked from commit 586a0ba)
@0asys @merlimat @lhotari
[fix][broker] Shared subscription stalls forever on a chunked message (…
62aa221
…#26396)

Co-authored-by: Matteo Merli <[email protected]>
(cherry picked from commit 91aac70)
@poorbarcode @merlimat @lhotari
[improve][broker] improve readability for the class TopicPolicyListen…
c79c72e
…erWrapper (#26277)

Co-authored-by: Matteo Merli <[email protected]>
(cherry picked from commit 119e1b9)
@merlimat @lhotari
[fix][ml] Don't drop a durable cursor reset when an ack is queued beh…
7e8bb68
…ind it (#26305)

Co-authored-by: Matteo Merli <[email protected]>
(cherry picked from commit 33e9b0e)
@Zhianii @merlimat @lhotari
[fix][fn] Honour consumerCryptoFailureAction in the Python function r…
148bfe8
…untime (#26490)

Signed-off-by: Matteo Merli <[email protected]>
Co-authored-by: Matteo Merli <[email protected]>
(cherry picked from commit 74ba0c6)
@arimu1 @merlimat @lhotari
[fix][managed-ledger] Honor batch-index cap in isCursorDataFullyPersi…
8e1109e
…stable (#26553)

Signed-off-by: arimu1 <[email protected]>
Co-authored-by: arimu1 <[email protected]>
Co-authored-by: Matteo Merli <[email protected]>
(cherry picked from commit 9761be7)
@Denovo1998 @merlimat @lhotari
[fix][broker] Fail compacted reads when the compacted ledger is missi…
ce6fa3a
…ng (#26631)

Co-authored-by: Matteo Merli <[email protected]>
(cherry picked from commit da0b07d)
@Denovo1998 @lhotari
[fix][broker] Honor secondary tenant admin roles in HTTP admin reques…
6cc7047
…ts (#26911)

(cherry picked from commit 3ad7e6e)
@kaminski-dev @lhotari
[fix][broker] Reject replicated status for the compaction subscription (
641fd72
#27037)

(cherry picked from commit 59014f9)
hanmz @merlimat @lhotari
[fix][test] Fix flaky NegativeAcksTest.testNegativeAcksWithBackoff (#…
2f2c68c
…24342)

Co-authored-by: Matteo Merli <[email protected]>
(cherry picked from commit aa86e8d)
@jiangpengcheng @merlimat @lhotari
[fix][fn] Only load crypto_key_reader for python function when crypto…
3564cf9
…KeyReaderConfig is provided (#24783)

Co-authored-by: Matteo Merli <[email protected]>
(cherry picked from commit cef020c)
@lhotari
[fix][broker] Don't continue loading a topic after its load has timed…
1a39278
… out (#20540)

(cherry picked from commit aec5da3)
@lhotari
[fix][ml] Fix races in managed ledger initialization timeout handling (…
7755cd8
…#23470)

(cherry picked from commit 98743b1)
@thomas-bousquet @merlimat @lhotari
[improve][conf] Document managedLedgerForceRecovery and schemaLedgerF…
b5aba38
…orceRecovery in broker.conf and standalone.conf (#24672)

Co-authored-by: Matteo Merli <[email protected]>
(cherry picked from commit f0e78c4)
@Shawyeok @merlimat @lhotari
[fix][client] Client interceptors close method not called after produ…
3f75d91
…cer/consumer/reader close (#23830)

Co-authored-by: Matteo Merli <[email protected]>
(cherry picked from commit a883ea4)
hanmz @lhotari @merlimat
[fix][broker] Don't allow creating a non-persistent partitioned topic…
e7a8070
… with '-partition-' in name (#23488)

Co-authored-by: Lari Hotari <[email protected]>
Co-authored-by: Matteo Merli <[email protected]>
(cherry picked from commit 8b8f72d)
@void-ptr974 @merlimat @lhotari
[fix][proxy] Answer failed partition metadata and lookup requests wit…
e8e574c
…h their own response type (#26607)

Co-authored-by: Matteo Merli <[email protected]>
(cherry picked from commit c019a2d)
@dao-jun @merlimat @lhotari
[fix][ml] Move the read position atomically when a replay is at it (#…
4ea4bb3
…22803)

Co-authored-by: Matteo Merli <[email protected]>
(cherry picked from commit 551a0c9)
@M-Schwab @lhotari
[fix][ml] Materialize compressed ManagedCursorInfo before releasing t…
0a966ec
…he decompressed buffer (#27050)

(cherry picked from commit c77ffb7)
@lhotari
[fix][broker] Reply to failed GetLastMessageId with the original requ…
ea7a3a4
…est id (#27053)

(cherry picked from commit 014d407)
@lhotari
[fix][ml] Run the add-entry timeout check on the managed ledger execu…
4af6b6c
…tor (#27056)

(cherry picked from commit aeaf47e)
@lhotari
[fix][broker] Serialize outgoing commands before passing them to brok…
f8f31f1
…er interceptors (#27054)

(cherry picked from commit d5daf9d)
@DavidRayner David Rayner
@merlimat @lhotari
[fix][fn] Send Go function logs to the log topic periodically and on …
21f1698
…shutdown (#22516)

Co-authored-by: David Rayner <[email protected]>
Co-authored-by: Matteo Merli <[email protected]>
(cherry picked from commit c17f93e)
@dao-jun @lhotari
[fix][txn] Fix PendingAckHandleImpl potential thread safety issue (#2…
b6d2bf7
…2166)

Co-authored-by: Matteo Merli <[email protected]>
(cherry picked from commit 01b0c0a)

(branch-4.2: the cursor ack is synchronous here (no #25528), so individualAckCommitCommon and the
cumulative commit keep the synchronous acknowledgeMessage; the cursor-thread commit test was dropped.)
@poorbarcode @merlimat @lhotari
[fix][client] Queue acks without grouping while the consumer is recon…
ddee034
…necting (#21928)

Co-authored-by: Matteo Merli <[email protected]>
(cherry picked from commit 4060cce)
@poorbarcode @merlimat @lhotari
[fix][broker] Don't swap the local metadata store's synchronizer when…
2c2c5e8
… configurationMetadataSyncEventTopic is updated on a shared store (#22695)

Co-authored-by: Matteo Merli <[email protected]>
(cherry picked from commit ec8456b)
@lifepuzzlefun @merlimat @lhotari
[fix][ml] Don't trim ledgers while cursors are lazily recovering (#20814
930e720
)

Co-authored-by: Matteo Merli <[email protected]>
(cherry picked from commit 4aa2286)
@ozangunalp @merlimat @lhotari
[fix][client] Read the OAuth2 private key without requiring a content…
42f47b9
… type (#20824)

Co-authored-by: Matteo Merli <[email protected]>
(cherry picked from commit baf5ac0)
merlimat and others added 25 commits November 21, 2026 12:29
@merlimat @lhotari
[fix][client] Reserve consumer memory before enqueueing the message (#…
b800104
…27566)

(cherry picked from commit a0aae45)
@merlimat @lhotari
[fix][client] Release a timed-out send's memory and permit before com…
04ed0e2
…pleting it (#27567)

(cherry picked from commit 0c0cb36)
@lhotari
[fix][broker] Release pending acks when persisting an expiry mark-del…
cdfd5b6
…ete fails (#27416)

(cherry picked from commit a24f147)
@lhotari
[fix][test] Fix Mockito stubbing race in NamespaceServiceSplitFailure…
096dc38
…Test that breaks later metrics tests (#27582)

(cherry picked from commit 5b0e0d9)
@merlimat @lhotari
[fix][test] Fix flaky CompactionTest.testReadCompactedAfterRecoveryRe…
8aded22
…storedDeletedCompactedLedger (#27586)

(cherry picked from commit b9a5a54)
@merlimat @lhotari
[fix][test] Fix flaky BatchMessageIndexAckTest.testBatchMessageIndexA…
76053a4
…ckForSharedSubscription (#27584)

(cherry picked from commit e94cfce)
@merlimat @lhotari
[fix][test] Fix flaky NonPersistentTopicTest.testClosingLastConsumerR…
4cdc3a3
…emovesSubscriptionBeforeReturning (#27585)

(cherry picked from commit d9d824c)
@merlimat @lhotari
[fix][broker] Delete the schema and topic policies when another clust…
ab3ea5b
…er deletes the partitioned topic metadata first during GC (#27588)

(cherry picked from commit f918744)
@oneby-wang @lhotari
[fix][broker] Propagate migration policy read failures during topic l…
6dd5b1c
…oading (#27579)

(cherry picked from commit 6b741a4)
@merlimat @lhotari
[fix][client] Resume a multi-topics consumer's paused partitions whil…
f89e5ac
…e a batch receive waits for messages (#27597)

(cherry picked from commit 1ef4e5c)
@lhotari
[fix][fn] Preserve schemaProperties in SinkConfigUtils inputSpecs rou…
7d13faa
…nd-trip (#27411)

(cherry picked from commit 4e430be)
@oneby-wang @lhotari
[fix][broker] Report metadata write failures when creating partitione…
39cef67
…d topics (#27606)

(cherry picked from commit 374d444)
@subodhwandile @lhotari
[fix][broker] Don't read the metadata store while holding the broker-…
09b2f2d
…selection lock in ModularLoadManagerImpl (#27610)

(cherry picked from commit 75527d8)
@gusteycamargo @lhotari
[fix][broker] Return 409 instead of 500 when concurrent requests crea…
1a7f845
…te the same tenant (#27611)

(cherry picked from commit 5d11281)
@void-ptr974 @lhotari
[fix][meta] Fix skipped watch restoration and lock revalidation when …
c1cc3e5
…probes detect a new ZooKeeper session (#27620)

(cherry picked from commit c87f1ad)
@void-ptr974 @lhotari
[fix][meta] Fix broker registration loss when retries close ZooKeeper…
68a0814
… sessions recovered during backoff (#27621)

(cherry picked from commit fd654e9)
@void-ptr974 @lhotari
[fix][broker] Fix partitioned stats requests hanging on topic existen…
8d59993
…ce check failures (#27623)

(cherry picked from commit 9045dbf)
@void-ptr974 @lhotari
[fix][broker] Fix lost updates during concurrent namespace policy cha…
46933da
…nges (#27624)

(cherry picked from commit 1483e7c)
@void-ptr974 @lhotari
[fix][broker] Fix deadlock in Key_Shared mode when keySharedUnblockin…
6788f88
…gIntervalMs=0 (#27618)

(cherry picked from commit 9888689)
@codelipenghui @lhotari
[fix][ml] Recover cursor initialization on empty terminated ledgers (#…
851661d
…27382)

(cherry picked from commit 7c4ef6d)
@codelipenghui @claude @lhotari
[fix][meta] Preserve lock state and refresh reads during reacquisition (
d284508
#27384)

Co-authored-by: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 49df762)
@codelipenghui @claude @lhotari
[fix][ml] Release terminal read ownership before notifying callbacks (#…
69e13d5
…27381)

Co-authored-by: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 2a4654d)
@lhotari
[fix][test] Fix flaky SchemaCompatibilityCheckTest.testIsAutoUpdateSc…
3926ef9
…hema (#27656)

(cherry picked from commit 51b011a)
@kaminski-dev @claude @lhotari
[fix][broker] Don't let a stalled __change_events reader hang topic p…
28c7e25
…olicy updates and topic deletion, and close the reader a failed policy cache init leaks (#27369)

Co-authored-by: Claude Fable 5.1 <[email protected]>
(cherry picked from commit 192d5c7)
@void-ptr974 @lhotari
[fix][broker] Fix message dispatch failures caused by ArrayIndexOutOf…
721c07d
…BoundsException in InMemoryRedeliveryTracker (#27064)

(cherry picked from commit 2fe3a4d)
@lhotari lhotari added ready-to-test doc-not-needed Your PR changes do not impact docs labels Nov 21, 2026
@lhotari

lhotari commented Nov 21, 2026

Copy link
Copy Markdown
Member Author

Superseded: fixups squashed into #27064. The rebuilt batch is tested in a new PR.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lhotari lhotari closed this Nov 21, 2026
@lhotari
lhotari deleted the branch-4.2-backports-2026-11-4.2.6-4.0.15-r2 branch November 21, 2026 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

doc-not-needed Your PR changes do not impact docs ready-to-test

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

20 participants

@lhotari @Asthenia0412 @FlorentinDUBOIS @TakaHiR07 @0asys @poorbarcode @waterWang @Zhianii @arimu1 @Denovo1998 @kaminski-dev @jiangpengcheng @thomas-bousquet @Shawyeok @void-ptr974 @dao-jun @M-Schwab @DavidRayner @lifepuzzlefun @ozangunalp
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.