Skip to content

[IMPROVED] Faster meta operations by not fetching accounts if not member#7537

Merged
neilalexander merged 1 commit intomainfrom
maurice/acc-fetch-if-member
Nov 10, 2025
Merged

[IMPROVED] Faster meta operations by not fetching accounts if not member#7537
neilalexander merged 1 commit intomainfrom
maurice/acc-fetch-if-member

Conversation

@MauriceVanVeen
Copy link
Copy Markdown
Member

In environments with many accounts in total but a small amount of JetStream assets per server, this PR ensures we don't need to fetch all accounts but only those that have assets hosted on this server. This speeds up meta recovery after a restart, and ensures a resolver doesn't need to service as many requests immediately.

Signed-off-by: Maurice van Veen github@mauricevanveen.com

Signed-off-by: Maurice van Veen <github@mauricevanveen.com>
@MauriceVanVeen MauriceVanVeen requested a review from a team as a code owner November 10, 2025 14:50
Copy link
Copy Markdown
Member

@neilalexander neilalexander left a comment

Choose a reason for hiding this comment

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

LGTM

@neilalexander neilalexander merged commit 7d9675a into main Nov 10, 2025
68 of 70 checks passed
@neilalexander neilalexander deleted the maurice/acc-fetch-if-member branch November 10, 2025 15:15
neilalexander added a commit that referenced this pull request Nov 12, 2025
Includes the following:

- #7534
- #7535
- #7536
- #7537
- #7538
- #7539
- #7543
- #7456

Signed-off-by: Neil Twigg <neil@nats.io>
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