Skip to content

Add test to promote mirrored to regular stream#1008

Merged
mtmk merged 1 commit into
mainfrom
Make-sure-that-client-can-remove-mirror-config
Dec 3, 2025
Merged

Add test to promote mirrored to regular stream#1008
mtmk merged 1 commit into
mainfrom
Make-sure-that-client-can-remove-mirror-config

Conversation

@mtmk

@mtmk mtmk commented Dec 1, 2025

Copy link
Copy Markdown
Member

This pull request adds a new test to ensure that a mirrored stream can be promoted to a regular stream by removing its mirror configuration, and that messages are retained after the promotion.

JetStream mirror stream promotion:

  • Added Remove_mirror_config_to_promote_stream test to verify that removing the mirror configuration from a stream successfully promotes it to a regular stream and retains all existing messages.

@mtmk
mtmk requested a review from scottf December 1, 2025 14:08

@scottf scottf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mtmk
mtmk merged commit db4ebd4 into main Dec 3, 2025
36 of 41 checks passed
@mtmk
mtmk deleted the Make-sure-that-client-can-remove-mirror-config branch December 3, 2025 10:40
mtmk added a commit that referenced this pull request Dec 11, 2025
* Add prioritized mode (#1011)
* Add Publish Timeout on Disconnect (#1001)
* Fix test flap (#1012)
* Add test to promote mirrored to regular stream (#1008)
* Add Nats-Expected-Last-Subject-Sequence-Subject (#1007)
* Fix keyed NATS clients with configurations (#1006)
* ensure NatsConnectionPool cannot overflow (#1005)
* Fix stream config adjustments on update (#995)
* Handel Unobserved Exceptions During Connection State Transitions (#999)
* Added verification of the consumer sequence number for pull ordered consumers (#981)
* Fix build warnings (#991)
* Reduce closure allocations (#988)
@mtmk mtmk mentioned this pull request Dec 11, 2025
mtmk added a commit that referenced this pull request Dec 11, 2025
* Add prioritized mode (#1011)
* Add Publish Timeout on Disconnect (#1001)
* Fix test flap (#1012)
* Add test to promote mirrored to regular stream (#1008)
* Add Nats-Expected-Last-Subject-Sequence-Subject (#1007)
* Fix keyed NATS clients with configurations (#1006)
* ensure NatsConnectionPool cannot overflow (#1005)
* Fix stream config adjustments on update (#995)
* Handel Unobserved Exceptions During Connection State Transitions (#999)
* Added verification of the consumer sequence number for pull ordered consumers (#981)
* Fix build warnings (#991)
* Reduce closure allocations (#988)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants