-
Notifications
You must be signed in to change notification settings - Fork 7
Rel Notes 0.10.0 #72
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
base: main
Are you sure you want to change the base?
Rel Notes 0.10.0 #72
Changes from all commits
d41f8a2
01fc98d
2b69df2
a252f14
0bf7078
5c7c024
183d050
6b7da66
197ebe9
7d9e999
a907625
8ea36ab
5397b0f
706b57c
d2d58f8
3021ec3
2ed63a4
133beff
7f7ee2f
f85993b
012ed7c
e490bf2
077c174
bfb3a89
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,85 @@ | ||
| # {{ pcsm.full_name }} 0.10.0 ({{ date.v0_10_0 }}) | ||
|
Check warning on line 1 in docs/release-notes/0.10.0.md
|
||
|
|
||
| We’re excited to announce {{ pcsm.full_name }} (PCSM) 0.10.0. This release adds high availability during replication and expands migration support for sharded deployment scenarios. You can also run multiple PCSM instances against the same source cluster, with each instance synchronizing a different subset of data to a separate target. | ||
|
Check warning on line 3 in docs/release-notes/0.10.0.md
|
||
|
|
||
| [Get started with {{pcsm.short}}](../installation.md){.md-button} | ||
|
|
||
| !!! warning "Upgrade from 0.9.0 requires a reset" | ||
|
|
||
| PCSM `0.10.0` cannot use replication state created by PCSM `0.9.0`. Before upgrading, **stop all** `0.9.0` instances and reset the stored replication state on the target cluster. | ||
|
|
||
| After the reset, start a new synchronization run with PCSM `0.10.0`. The run starts with a full initial clone. Do not run PCSM `0.9.0` and `0.10.0` against the same target cluster at the same time. | ||
|
|
||
| ## Release highlights | ||
|
|
||
| ### High availability during replication | ||
|
|
||
| PCSM now supports active-standby high availability during replication. For example you can run two or more instances of PCSM with the same source and target. While one of them is actively replicating the others are idle in standby mode. | ||
|
Check notice on line 17 in docs/release-notes/0.10.0.md
|
||
|
|
||
| In the event of an active instance failure, one of the passive instances will take over. Replication will then continue from the last checkpoint to minimize disruption without manual intervention. | ||
|
Check warning on line 19 in docs/release-notes/0.10.0.md
|
||
|
|
||
| For detailed information, see our [documentation](https://docs.percona.com/percona-clustersync-for-mongodb/high-availability.html) | ||
|
Check warning on line 21 in docs/release-notes/0.10.0.md
|
||
|
Copilot marked this conversation as resolved.
|
||
|
|
||
|
|
||
| ### Broader migration support for sharded clusters | ||
|
|
||
| PCSM can now migrate collection data from a sharded source cluster to a replica set target. It copies documents from both sharded and unsharded collections. Sharded collections are created as regular collections on the replica set target, without the source cluster's sharding metadata. | ||
|
Check notice on line 26 in docs/release-notes/0.10.0.md
|
||
|
|
||
| For migrations between sharded clusters, PCSM now prepares the target chunk layout before cloning data. For ranged shard keys, it uses the source chunk boundaries to pre-split the target. Collections with a hashed shard key keep the initial layout created by MongoDB. | ||
|
Check notice on line 28 in docs/release-notes/0.10.0.md
|
||
|
|
||
| To dive deeper into this topic, check out the [documentation](https://docs.percona.com/percona-clustersync-for-mongodb/sharding.html#chunk-distribution). | ||
|
|
||
|
|
||
| ### Parallel synchronization from one source to multiple targets | ||
|
|
||
| You can run multiple {{pcsm.full_name}} (PCSM) instances against the same source cluster and replicate data to different target clusters at the same time. | ||
|
Check notice on line 35 in docs/release-notes/0.10.0.md
|
||
|
|
||
| Each instance has its own namespace filters, so you can control which data is sent to each target. Namespace selections can differ or overlap. This means the same source namespace can be synchronized to more than one target when needed. | ||
|
Check notice on line 37 in docs/release-notes/0.10.0.md
|
||
|
|
||
| For more insights into this feature, see the [documentation](https://docs.percona.com/percona-clustersync-for-mongodb/multiple-targets.html) | ||
|
|
||
| ### Extended platform support: Red Hat Enterprise Linux (RHEL) 10 and its derivatives, and Debian 13 | ||
|
Check warning on line 41 in docs/release-notes/0.10.0.md
|
||
|
|
||
| PCSM 0.10.0 adds packages for new platforms, including RHEL 10 and its derivatives, and Debian 13. | ||
|
Check notice on line 43 in docs/release-notes/0.10.0.md
|
||
|
|
||
| | **Platform** | **Derivative of** | **Architecture** | | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd remove that column "Derivative of" -> doesn't makes sense for Debian, and doesn't provide the value here. |
||
| |---|---|---| | ||
| | RHEL 10 | — | x86_64, ARM64 | | ||
| | Rocky Linux 10 | RHEL 10 | x86_64, ARM64 | | ||
| | AlmaLinux 10 | RHEL 10 | x86_64, ARM64 | | ||
| | Oracle Linux 10| RHEL 10 | x86_64, ARM64 | | ||
| | Debian 13 (Trixie) | — | x86_64, ARM64 | | ||
|
Check notice on line 51 in docs/release-notes/0.10.0.md
|
||
|
|
||
|
radoslawszulgo marked this conversation as resolved.
|
||
| ## Changelog | ||
|
|
||
| ### New features | ||
|
|
||
| * [PCSM-203](https://perconadev.atlassian.net/browse/PCSM-203): For migrations between sharded clusters, PCSM now prepares the target chunk layout before cloning data. For ranged shard keys, it uses the source chunk boundaries to pre-split the target. Collections with a hashed shard key keep the initial layout created by MongoDB. | ||
|
Check notice on line 57 in docs/release-notes/0.10.0.md
|
||
| * [PCSM-296](https://perconadev.atlassian.net/browse/PCSM-296): Added support for migrating data from a sharded source cluster to a replica set target. | ||
|
Check notice on line 58 in docs/release-notes/0.10.0.md
|
||
| * [PCSM-302](https://perconadev.atlassian.net/browse/PCSM-302): Added Debian 13 (Trixie) AMD64 support for PCSM. | ||
|
Check notice on line 59 in docs/release-notes/0.10.0.md
|
||
| * [PCSM-344](https://perconadev.atlassian.net/browse/PCSM-344): Added Debian 13 (Trixie) ARM64 support for PCSM. | ||
|
Check notice on line 60 in docs/release-notes/0.10.0.md
|
||
| * [PCSM-360](https://perconadev.atlassian.net/browse/PCSM-360): Added RHEL 10 build support for PCSM. | ||
|
Check notice on line 61 in docs/release-notes/0.10.0.md
|
||
|
|
||
| ### Improvements | ||
|
|
||
| * [PCSM-93](https://perconadev.atlassian.net/browse/PCSM-93): Added active-standby high availability for the replication phase. Multiple PCSM instances coordinate through a lease on the target cluster, and a standby is promoted automatically when the active instance becomes unavailable. | ||
|
Check notice on line 65 in docs/release-notes/0.10.0.md
|
||
| * [PCSM-241](https://perconadev.atlassian.net/browse/PCSM-241): Improved how PCSM captures the clone start timestamp. PCSM now uses `appendOplogNote` to establish a precise replication starting point after earlier in-flight writes are durable. | ||
|
Check notice on line 66 in docs/release-notes/0.10.0.md
|
||
| * [PCSM-281](https://perconadev.atlassian.net/browse/PCSM-281): Updated the Go version used to build PCSM to 1.27.1. | ||
|
Check notice on line 67 in docs/release-notes/0.10.0.md
|
||
| * [PCSM-283](https://perconadev.atlassian.net/browse/PCSM-283): Improved migrations from a sharded source cluster to a replica set target. PCSM now detects the target topology and skips sharding operations that a replica set does not support. | ||
|
Check notice on line 68 in docs/release-notes/0.10.0.md
|
||
| * [PCSM-312](https://perconadev.atlassian.net/browse/PCSM-312): Added support for configuring the MongoDB connection pool size using `maxPoolSize` in the source and target connection strings. | ||
|
Check notice on line 69 in docs/release-notes/0.10.0.md
|
||
| * [PCSM-322](https://perconadev.atlassian.net/browse/PCSM-322): Improved handling of incomplete or inconsistent source indexes during finalization. | ||
|
Check notice on line 70 in docs/release-notes/0.10.0.md
|
||
| * [PCSM-328](https://perconadev.atlassian.net/browse/PCSM-328): Improved migration reliability by retrying MongoDB operations that fail because of transient errors, such as brief network interruptions or timeouts. Previously, a temporary source-side failure could stop a long-running initial data copy. PCSM now retries these operations before failing the migration. | ||
|
Check notice on line 71 in docs/release-notes/0.10.0.md
|
||
| * [PCSM-330](https://perconadev.atlassian.net/browse/PCSM-330): Added support for running multiple PCSM instances against the same source cluster and synchronizing selected data to separate target clusters at the same time. Each instance can use its own namespace filters. | ||
|
Check notice on line 72 in docs/release-notes/0.10.0.md
|
||
| * [PCSM-335](https://perconadev.atlassian.net/browse/PCSM-335): Updated log timestamps to use RFC 3339 format, making timestamps easier to correlate with logs from other systems. | ||
|
Check notice on line 73 in docs/release-notes/0.10.0.md
|
||
| * [PCSM-336](https://perconadev.atlassian.net/browse/PCSM-336): Normalized PCSM log timestamps to UTC for consistent timestamps across deployments. | ||
|
Check notice on line 74 in docs/release-notes/0.10.0.md
|
||
|
|
||
| ### Bugs | ||
|
|
||
| * [PCSM-249](https://perconadev.atlassian.net/browse/PCSM-249): Fixed handling of change stream events generated by movePrimary on a sharded source. These events could previously cause replicated data to be removed from the target or stop replication. PCSM now handles them without applying the internal collection changes to the target. | ||
|
Check notice on line 78 in docs/release-notes/0.10.0.md
|
||
| * [PCSM-338](https://perconadev.atlassian.net/browse/PCSM-338): Fixed an issue where PCSM could incorrectly report the initial sync as complete after restarting during catch-up. This might allow finalization to begin before the target has fully caught up, resulting in data loss. PCSM now preserves the clone completion timestamp during recovery and prevents finalization until synchronization is complete. | ||
|
Check notice on line 79 in docs/release-notes/0.10.0.md
|
||
| * [PCSM-345](https://perconadev.atlassian.net/browse/PCSM-345): Made the PCSM HTTP server bind host configurable. Previously, the server bound only to `localhost`, which could prevent Kubernetes probes or other services connecting through the pod or host IP from reaching PCSM. The default remains `localhost`. | ||
|
Check notice on line 80 in docs/release-notes/0.10.0.md
|
||
| * [PCSM-359](https://perconadev.atlassian.net/browse/PCSM-359): Fixed an issue where PCSM could advance its replication checkpoint past changes that had not yet been applied. If PCSM restarted during catch-up, those changes could be skipped and documents could be missing from the target. PCSM now resumes an interrupted run from the last safely applied checkpoint. | ||
|
Check notice on line 81 in docs/release-notes/0.10.0.md
|
||
| * [PCSM-369](https://perconadev.atlassian.net/browse/PCSM-369): The `--mongodb-operation-timeout` flag was accepted by every subcommand, but only the server and `reset` commands actually create MongoDB clients. Passing it to `pcsm start` or `pcsm status` did nothing at all, with no indication that the value had been discarded. | ||
|
Check notice on line 82 in docs/release-notes/0.10.0.md
|
||
|
|
||
| The flag is now scoped to the commands that use it. If you pass it to `status`, `start`, `pause`, `resume`, or `finalize`, PCSM returns an unknown flag error rather than accepting it and ignoring it. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it only from 0.9.0 or from any other older version? @chupe ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As per the ticket: https://perconadev.atlassian.net/browse/PCSM-93
Migration note: 0.9.0 replication state is incompatible — run pcsm reset on the target before starting with 0.10.0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's true for older version as well, as answered here