forked from tarantool/tarantool
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
box: setting names is NoOp before schema 3.0.0
Currently it's impossible to recover from the snapshot, which doesn't have names set in it. This makes upgrading to 3.0.0 difficult and requires starting Tarantool manually in interactive mode, invoking box.cfg without names, upgrading schema and setting names manually. We need to make Tarantool set names automatically, when it's configured via yaml file. Even with invoking box.cfg two times (without names and with them) it's impossible to set names before the time, schema is upgraded. But we consider schema auto-upgrade unacceptable and expect from users to do it, when they're ready. So, let's allow setting names in box.cfg on the first configuration and recover from snaps, which don't have names set. As we cannot apply such names before schema upgrade, setting names on schema version below 3.0.0 has no effect. Needed for tarantool#8978 NO_DOC=tarantool/doc#3661
- Loading branch information
1 parent
fcb41bb
commit edfac67
Showing
3 changed files
with
68 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
## bugfix/core | ||
|
||
* Setting instance/replicaset/cluster_name on schema version below 3.0.0 is | ||
ignored. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters