Skip to content

Fix Subject prefix for the Create/Update operation in KV store. #1903

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 29, 2025

Conversation

SalvaChiLlo
Copy link
Contributor

@SalvaChiLlo SalvaChiLlo commented Jul 22, 2025

Create a valid Subject for mirrored streams by using the kv.putPre prefix which references the subject in the remote domain

Without the prefix it tries to push messages into a topic no one is interested in the domain making leaf nodes unusable for create and update operations over the KV store

Create a valid Subject for mirrored streams by using the `kv.putPre` prefix which references the subject in the remote domain
@coveralls
Copy link

Coverage Status

coverage: 84.724% (-0.1%) from 84.837%
when pulling 92725b4 on SalvaChiLlo:main
into ea3ef92 on nats-io:main.

Copy link
Collaborator

@piotrpio piotrpio left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you for the contribution!

@piotrpio piotrpio merged commit dfcb02d into nats-io:main Jul 29, 2025
4 checks passed
@piotrpio piotrpio mentioned this pull request Jul 29, 2025
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.

3 participants