dependabot[bot] opened a new pull request, #40216: URL: https://github.com/apache/beam/pull/40216
Bumps [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) from 2.14.6 to 2.15.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/nats-io/nats-server/releases">github.com/nats-io/nats-server/v2's releases</a>.</em></p> <blockquote> <h2>Release v2.15.0</h2> <h2>Changelog</h2> <p>Refer to the <a href="https://docs.nats.io/release-notes/upgrade-to-2.15">2.15 Upgrade Guide</a> for backwards compatibility notes with 2.14.x. This release also contains all changes up to and including <a href="https://github.com/nats-io/nats-server/releases/tag/v2.14.7">v2.14.7</a>.</p> <h3>Go Version</h3> <ul> <li>1.27.1 (<a href="https://redirect.github.com/nats-io/nats-server/issues/8551">#8551</a>)</li> </ul> <h3>Added</h3> <p>JetStream</p> <ul> <li>Desired state metalayer (<a href="https://redirect.github.com/nats-io/nats-server/issues/8432">#8432</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/8437">#8437</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/8439">#8439</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/8443">#8443</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/8452">#8452</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/8460">#8460</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/8476">#8476</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/8576">#8576</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/8598">#8598</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/8602">#8602</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/8603">#8603</a>) <ul> <li>A new desired state reconciliation engine for streams and consumers considerably improves the safety and reliability of asset moves and scales</li> <li>Updating the placement or replication factor midway through an existing scale/move operation, cancelling an in-flight scale/move, or peer-removing is now much safer</li> <li>ADR: <a href="https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-62.md">https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-62.md</a></li> </ul> </li> <li>Cancel stream move endpoint (<a href="https://redirect.github.com/nats-io/nats-server/issues/8476">#8476</a>) <ul> <li>An in-flight scale/move operation on a stream can be cancelled and the asset returned to its original placement using the new <code>$JS.API.STREAM.CANCEL_MOVE</code> endpoint</li> <li>ADR: <a href="https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-62.md">https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-62.md</a></li> </ul> </li> <li>Evacuate endpoints (<a href="https://redirect.github.com/nats-io/nats-server/issues/8443">#8443</a>) <ul> <li>The new <code>$JS.API.SERVER.EVACUATE</code> endpoint can safely evacuate streams, and any consumers on those streams, from a node</li> <li>The new <code>$JS.API.STREAM.PEER.EVACUATE.*</code> endpoint can safely evacuate a peer, and any consumers on that peer, from a stream</li> <li>These operations combined allow for maintenance operations with full transfer of data and state without having to peer-remove first</li> <li>ADR: <a href="https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-62.md">https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-62.md</a></li> </ul> </li> <li>Metalayer rescue for disaster recovery (<a href="https://redirect.github.com/nats-io/nats-server/issues/8408">#8408</a>) <ul> <li>The new <code>$JS.API.META.RESCUE</code> endpoint can temporarily lower the quorum-needed for the metalayer, in order to facilitate the recovery of a system where nodes have been permanently lost and the metalayer cannot reach quorum</li> <li>ADR: <a href="https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-61.md">https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-61.md</a></li> </ul> </li> <li>Stream backup and restore v2 (<a href="https://redirect.github.com/nats-io/nats-server/issues/7882">#7882</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/8584">#8584</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/8591">#8591</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/8604">#8604</a>) <ul> <li>A new backup format for stream snapshots which reads out per-message rather than per-block</li> <li>The new backup format also now correctly includes non-replicated consumers on follower nodes</li> <li>ADR: <a href="https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-63.md">https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-63.md</a></li> </ul> </li> <li>Detect source stream recreation (<a href="https://redirect.github.com/nats-io/nats-server/issues/8384">#8384</a>) <ul> <li>The server now detects a source stream being recreated, restarting the sourcing back from the beginning, ensuring new messages are sourced</li> </ul> </li> <li>Stream source indexing (<a href="https://redirect.github.com/nats-io/nats-server/issues/8282">#8282</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/8516">#8516</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/8283">#8283</a>) <ul> <li>Restarts and leader changes previously required expensive backward scans through the stream to find the last sourced indices. These are now persisted in an index for instant lookup.</li> </ul> </li> <li>Domain-prefixed JS API in system account (<a href="https://redirect.github.com/nats-io/nats-server/issues/8429">#8429</a>) <ul> <li>When a system account is bridged between the hub and a leaf node, the domain-prefixed JS API can now be used to operate on the leaf node while directly connected to the hub</li> </ul> </li> </ul> <h3>Changed</h3> <p>JetStream</p> <ul> <li>Streams now have a default limit of 1000 consumers, unless <code>max_consumers</code> is specified in the stream config or account limits (<a href="https://redirect.github.com/nats-io/nats-server/issues/8337">#8337</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/8566">#8566</a>) <ul> <li>Applications planning to use a large number of consumers on a stream should configure <code>max_consumers</code> in the stream config or account limits to an appropriately high number</li> <li>The server-wide default of 1000 can be overridden by setting <code>default_max_consumers</code> in the JetStream limits, or can be disabled by setting to <code>-1</code></li> <li>This limit does not affect existing consumers and will not result in consumer deletions, only the creation of new consumers is prevented</li> </ul> </li> <li>Sync changes for replicated streams (<a href="https://redirect.github.com/nats-io/nats-server/issues/8447">#8447</a>) <ul> <li>When the <code>sync_interval</code> is set to <code>always</code>, replicated streams now sync their WAL entries but no longer sync upper stream layer writes</li> <li>The synced log allows the stream to recover safely, but removing unnecessary syncs from the upper stream layer dramatically improves performance</li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/nats-io/nats-server/commit/eb763679aa3c24a40dcd3012aa046ad1996d851c"><code>eb76367</code></a> Release v2.15.0</li> <li><a href="https://github.com/nats-io/nats-server/commit/8f3f31b0366eca0d855d0750b7ca547eadd10eff"><code>8f3f31b</code></a> [FIXED] Config reload disconnects operator mode clients sending an nkey (<a href="https://redirect.github.com/nats-io/nats-server/issues/8609">#8609</a>)</li> <li><a href="https://github.com/nats-io/nats-server/commit/7d7724070d088d44e9da2ec74fffc040277f6af8"><code>7d77240</code></a> [FIXED] Stream scale down into a missing account tier was accepted (<a href="https://redirect.github.com/nats-io/nats-server/issues/8608">#8608</a>)</li> <li><a href="https://github.com/nats-io/nats-server/commit/e46d21fcfa6720c6ca0b7ed17070dd172b011a8a"><code>e46d21f</code></a> [FIXED] Concurrent account updates invalidating stream imports (<a href="https://redirect.github.com/nats-io/nats-server/issues/8610">#8610</a>)</li> <li><a href="https://github.com/nats-io/nats-server/commit/2ecd77a6fef7b35ebb229d0b401645a2f79ce1b4"><code>2ecd77a</code></a> De-flake TestJetStreamClusterHardKillAfterStreamAdd</li> <li><a href="https://github.com/nats-io/nats-server/commit/901df7858b812ee5896cb018e8b134167f6158e7"><code>901df78</code></a> De-flake TestJetStreamClusterAccountMaxConnectionsReconnect</li> <li><a href="https://github.com/nats-io/nats-server/commit/e133a1ffb04661d0d862c1ab65f37b930acb01bb"><code>e133a1f</code></a> De-flake TestJetStreamClusterMessageTTLCatchup</li> <li><a href="https://github.com/nats-io/nats-server/commit/2990f6c065b9b3013eb8f60f5f5b96d4b9f55a03"><code>2990f6c</code></a> [FIXED] Concurrent account updates invalidating stream imports</li> <li><a href="https://github.com/nats-io/nats-server/commit/51fd55fdbb2b1569cdb67be742295235f14bc4da"><code>51fd55f</code></a> De-flake TestJWTImportsOnServerRestartAndClientsReconnect</li> <li><a href="https://github.com/nats-io/nats-server/commit/6a82cf9beb53f37e1f9a91e7707a04bb0f8709b4"><code>6a82cf9</code></a> De-flake TestNoRaceRouteSendSubs</li> <li>Additional commits viewable in <a href="https://github.com/nats-io/nats-server/compare/v2.14.6...v2.15.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
