You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.. warning:: Restoring schema into a cluster with ScyllaDB **5.4.X** or **2024.1.X** with ``consistent_cluster_management: true`` isn't supported. Please see the following :ref:`workaround <restore-schema-workaround>`.
Copy file name to clipboardExpand all lines: docs/source/restore/restore-schema.rst
+20-3
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@ Restore schema
6
6
7
7
.. note:: Because of small size of schema files, resuming schema restoration always starts from scratch.
8
8
9
+
.. include:: _common/restore-raft-schema-warn.rst
10
+
9
11
In order to restore Scylla cluster schema use :ref:`sctool restore <sctool-restore>` with ``--restore-schema`` flag.
10
12
11
13
Prerequisites
@@ -25,8 +27,10 @@ After successful restore it is important to perform necessary follow-up action.
25
27
you should make a `rolling restart <https://docs.scylladb.com/stable/operating-scylla/procedures/config-change/rolling-restart.html>`_ of an entire cluster.
26
28
Without the restart, the restored schema might not be visible, and querying it can return various errors.
27
29
28
-
Process
29
-
=======
30
+
Procedure
31
+
=========
32
+
33
+
This section contains a description of the restore-schema procedure performed by ScyllaDB Manager.
30
34
31
35
Because of being unable to alter schema tables ``tombstone_gc`` option, restore procedure "simulates ad-hoc repair"
32
36
by duplicating data from **each backed-up node into each node** in restore destination cluster.
@@ -47,4 +51,17 @@ Fortunately, the small size of schema files makes this overhead negligible.
47
51
* Download all SSTables
48
52
* For all nodes in restore destination cluster:
49
53
50
-
* `nodetool refresh <https://docs.scylladb.com/stable/operating-scylla/nodetool-commands/refresh.html#nodetool-refresh>`_ on all downloaded schema tables (full parallel)
54
+
* `nodetool refresh <https://docs.scylladb.com/stable/operating-scylla/nodetool-commands/refresh.html#nodetool-refresh>`_ on all downloaded schema tables (full parallel)
55
+
56
+
.. _restore-schema-workaround:
57
+
58
+
Restoring schema into a cluster with ScyllaDB **5.4.X** or **2024.1.X** with **consistent_cluster_management**
0 commit comments