Skip to content

Don't snapshot on monitor goroutine or Raft node quit signal unless shutting down#7495

Merged
neilalexander merged 1 commit intomainfrom
neil/qchsnapshot
Oct 30, 2025
Merged

Don't snapshot on monitor goroutine or Raft node quit signal unless shutting down#7495
neilalexander merged 1 commit intomainfrom
neil/qchsnapshot

Conversation

@neilalexander
Copy link
Copy Markdown
Member

@neilalexander neilalexander commented Oct 30, 2025

In #6279 we introduced attempting snapshots on shutdown, but some of these branches would snapshot regardless of whether we're actually shutting down or not, i.e. for assets that are either about to go away (i.e. due to being deleted or scaled down on a given node).

Signed-off-by: Neil Twigg neil@nats.io

Copy link
Copy Markdown
Member

@MauriceVanVeen MauriceVanVeen left a comment

Choose a reason for hiding this comment

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

LGTM

…hutting down

Signed-off-by: Neil Twigg <neil@nats.io>
@neilalexander neilalexander marked this pull request as ready for review October 30, 2025 12:45
@neilalexander neilalexander requested a review from a team as a code owner October 30, 2025 12:45
@neilalexander neilalexander merged commit 4624582 into main Oct 30, 2025
151 of 158 checks passed
@neilalexander neilalexander deleted the neil/qchsnapshot branch October 30, 2025 13:24
neilalexander added a commit that referenced this pull request Oct 30, 2025
Includes the following:

- #7435
- #7433
- #7436
- #7443
- #7440
- #7444
- #7452
- #7455
- #7458
- #7465
- #7466
- #7474
- #7469
- #7460
- #7449
- #7484
- #7479
- #7486
- #7495
- #7482
- #7496

Signed-off-by: Neil Twigg <neil@nats.io>
neilalexander added a commit that referenced this pull request Nov 5, 2025
Includes the following:

- #7416
- #7425
- #7486
- #7495
- #7482
- #7496
- #7499
- #7503
- #7508 (excluding weak
pointer/cache-related changes that apply only to 2.12.x)
- #7510
- #7509
- #7512
- #7516
- #7515

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