Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/current/v24.1/wal-failover.md
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,14 @@ No, the secondary (failover) disk **must be durable and retain its data across V

Always provision the failover disk with the same persistence guarantees as the primary store.

### 14. Can I relocate or rename the WAL directory?

No. When WAL failover is enabled, the WAL directory path is stored as an absolute path in the [store]({% link {{ page.version.version}}/cockroach-start.md %}#store)'s data. It is not treated as a relative path. As a result, it is not sufficient to stop CockroachDB, move or rename that directory, and restart with a different `--wal-failover` path.

Instead, to change the WAL directory path, you must first [disable WAL failover]({% link {{ page.version.version }}/cockroach-start.md %}#disable-wal-failover), [restart the node(s)]({% link {{ page.version.version }}/node-shutdown.md %}#stop-and-restart-a-node), and then [re-enable WAL failover with the new path]({% link {{ page.version.version }}/cockroach-start.md %}#enable-wal-failover).

Using filesystem indirection such as symlinks or mount-point changes is not supported or tested by Cockroach Labs.

## Video demo: WAL failover

For a demo of WAL Failover in CockroachDB and what happens when you enable or disable it, play the following video:
Expand Down
8 changes: 8 additions & 0 deletions src/current/v24.3/wal-failover.md
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,14 @@ No, the secondary (failover) disk **must be durable and retain its data across V

Always provision the failover disk with the same persistence guarantees as the primary store.

### 14. Can I relocate or rename the WAL directory?

No. When WAL failover is enabled, the WAL directory path is stored as an absolute path in the [store]({% link {{ page.version.version}}/cockroach-start.md %}#store)'s data. It is not treated as a relative path. As a result, it is not sufficient to stop CockroachDB, move or rename that directory, and restart with a different `--wal-failover` path.

Instead, to change the WAL directory path, you must first [disable WAL failover]({% link {{ page.version.version }}/cockroach-start.md %}#disable-wal-failover), [restart the node(s)]({% link {{ page.version.version }}/node-shutdown.md %}#stop-and-restart-a-node), and then [re-enable WAL failover with the new path]({% link {{ page.version.version }}/cockroach-start.md %}#enable-wal-failover).

Using filesystem indirection such as symlinks or mount-point changes is not supported or tested by Cockroach Labs.

## Video demo: WAL failover

For a demo of WAL Failover in CockroachDB and what happens when you enable or disable it, play the following video:
Expand Down
8 changes: 8 additions & 0 deletions src/current/v25.2/wal-failover.md
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,14 @@ No, the secondary (failover) disk **must be durable and retain its data across V

Always provision the failover disk with the same persistence guarantees as the primary store.

### 14. Can I relocate or rename the WAL directory?

No. When WAL failover is enabled, the WAL directory path is stored as an absolute path in the [store]({% link {{ page.version.version}}/cockroach-start.md %}#store)'s data. It is not treated as a relative path. As a result, it is not sufficient to stop CockroachDB, move or rename that directory, and restart with a different `--wal-failover` path.

Instead, to change the WAL directory path, you must first [disable WAL failover]({% link {{ page.version.version }}/cockroach-start.md %}#disable-wal-failover), [restart the node(s)]({% link {{ page.version.version }}/node-shutdown.md %}#stop-and-restart-a-node), and then [re-enable WAL failover with the new path]({% link {{ page.version.version }}/cockroach-start.md %}#enable-wal-failover).

Using filesystem indirection such as symlinks or mount-point changes is not supported or tested by Cockroach Labs.

## Video demo: WAL failover

For a demo of WAL Failover in CockroachDB and what happens when you enable or disable it, play the following video:
Expand Down
8 changes: 8 additions & 0 deletions src/current/v25.3/wal-failover.md
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,14 @@ No, the secondary (failover) disk **must be durable and retain its data across V

Always provision the failover disk with the same persistence guarantees as the primary store.

### 14. Can I relocate or rename the WAL directory?

No. When WAL failover is enabled, the WAL directory path is stored as an absolute path in the [store]({% link {{ page.version.version}}/cockroach-start.md %}#store)'s data. It is not treated as a relative path. As a result, it is not sufficient to stop CockroachDB, move or rename that directory, and restart with a different `--wal-failover` path.

Instead, to change the WAL directory path, you must first [disable WAL failover]({% link {{ page.version.version }}/cockroach-start.md %}#disable-wal-failover), [restart the node(s)]({% link {{ page.version.version }}/node-shutdown.md %}#stop-and-restart-a-node), and then [re-enable WAL failover with the new path]({% link {{ page.version.version }}/cockroach-start.md %}#enable-wal-failover).

Using filesystem indirection such as symlinks or mount-point changes is not supported or tested by Cockroach Labs.

## Video demo: WAL failover

For a demo of WAL Failover in CockroachDB and what happens when you enable or disable it, play the following video:
Expand Down
8 changes: 8 additions & 0 deletions src/current/v25.4/wal-failover.md
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,14 @@ No, the secondary (failover) disk **must be durable and retain its data across V

Always provision the failover disk with the same persistence guarantees as the primary store.

### 14. Can I relocate or rename the WAL directory?

No. When WAL failover is enabled, the WAL directory path is stored as an absolute path in the [store]({% link {{ page.version.version}}/cockroach-start.md %}#store)'s data. It is not treated as a relative path. As a result, it is not sufficient to stop CockroachDB, move or rename that directory, and restart with a different `--wal-failover` path.

Instead, to change the WAL directory path, you must first [disable WAL failover]({% link {{ page.version.version }}/cockroach-start.md %}#disable-wal-failover), [restart the node(s)]({% link {{ page.version.version }}/node-shutdown.md %}#stop-and-restart-a-node), and then [re-enable WAL failover with the new path]({% link {{ page.version.version }}/cockroach-start.md %}#enable-wal-failover).

Using filesystem indirection such as symlinks or mount-point changes is not supported or tested by Cockroach Labs.

## Video demo: WAL failover

For a demo of WAL Failover in CockroachDB and what happens when you enable or disable it, play the following video:
Expand Down
Loading