Skip to content
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

Cherry picks for v2.10.21 RC1 #5898

Merged
merged 11 commits into from
Sep 17, 2024
Merged

Cherry picks for v2.10.21 RC1 #5898

merged 11 commits into from
Sep 17, 2024

Conversation

@wallyqs wallyqs requested a review from a team as a code owner September 17, 2024 16:19
@derekcollison
Copy link
Member

Should pull in updates to dependencies as well.

I can look at complete list of PRs since 2.10.20 later on..

MauriceVanVeen and others added 7 commits September 17, 2024 09:50
In `processClusterCreateStream` there was a call to `reflect.DeepEqual` with different types making it always fail.
`mset.config()` is the config itself, whereas `sa.Config` is a pointer to the config. So we need to pass `mset.config()` as a pointer instead.

In `processClusterCreateConsumer` this was done as well:
```go
cfg := o.config()
if isConfigUpdate = !reflect.DeepEqual(&cfg, ca.Config); isConfigUpdate {
```

Signed-off-by: Maurice van Veen <github@mauricevanveen.com>
Signed-off-by: Waldemar Quevedo <wally@nats.io>
Signed-off-by: Derek Collison <derek@nats.io>
changed to update the account issuer for an account to always update
otherwise the information shown in accountz will not be consistent with
the decoded JWT
…g snapshot restore or restart.

We had a condition where an old index.db was not able to properly restore a stream due to max msgs per subject being set and certain blocks being compacted away and removing subject info for those sequences.
In addition we fixed recovery after Truncate and PurgeEx by subject when the index.db was corrupt or not available.

This change also moves generating the index.db file to after writing the blocks during a snapshot and we do a force call to make sure it is written even when complex.

Signed-off-by: Derek Collison <derek@nats.io>
Signed-off-by: Tomasz Pietrek <tomasz@nats.io>
Signed-off-by: Tomasz Pietrek <tomasz@nats.io>
@wallyqs
Copy link
Member Author

wallyqs commented Sep 17, 2024

Added the dependencies updates, some test fixes and this fix for stream create (#5854)

@derekcollison
Copy link
Member

Any others we should pull in from your perspective?

@wallyqs
Copy link
Member Author

wallyqs commented Sep 17, 2024

There are some other PRs with testing updates that we could also include:

Also need to bump the Go version to 1.22.7 for the release.

@derekcollison
Copy link
Member

Up to you on test updates, not customer impacting but might make release easier to get through the builds.

+1 on bumping Go version. Any Alpine updates we need to consider?

dependabot bot and others added 4 commits September 17, 2024 10:54
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 2.2.3 to 2.3.0.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Commits](coverallsapp/github-action@3dfc556...643bc37)

---
updated-dependencies:
- dependency-name: coverallsapp/github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
…5781)

1. Add test for consuming a stream with a given sequence start offset.

- Durable consumer
- Durable consumer with `Bind`
- Pull consumer
- Synchronous consumer
- Callback subscription
- Channel subscription
- Get stream message
- Get last stream message by subject

2. Add test where a durable consumer ACKs messages that have been
deleted from a stream

Signed-off-by: Marco Primi <marco@nats.io>
Wait for stream leader after scale up should avoid some reliability
isses. Also tweak helpers for better logging.

Signed-off-by: Neil Twigg <neil@nats.io>
Signed-off-by: Waldemar Quevedo <wally@nats.io>
Copy link
Member

@derekcollison derekcollison left a comment

Choose a reason for hiding this comment

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

LGTM

@wallyqs
Copy link
Member Author

wallyqs commented Sep 17, 2024

This one is ready, we are ok on alpine changes too.

@wallyqs wallyqs merged commit 032ac9c into release/v2.10.21 Sep 17, 2024
5 checks passed
@wallyqs wallyqs deleted the downstream/v2.10.21 branch September 17, 2024 19:00
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.

7 participants