File tree Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 32
32
33
33
- New Failover API function ``set_options `` to change failover internal params.
34
34
35
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
36
+ Changed
37
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
38
+
39
+ - Don't perform invalid format check in Tarantool 2.10.4 and above.
40
+
35
41
-------------------------------------------------------------------------------
36
42
[2.8.1] - 2023-07-20
37
43
-------------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -2,6 +2,20 @@ local log = require('log')
2
2
local fiber = require (' fiber' )
3
3
local vars = require (' cartridge.vars' ).new (' cartridge.invalid-format' )
4
4
5
+ local utils = require (' cartridge.utils' )
6
+
7
+
8
+ -- In Tarantool >= 2.10.4 invalid format leads to an error,
9
+ -- so we don't need to perform a check
10
+ if utils .version_is_at_least (2 , 10 , 4 ) then
11
+ return {
12
+ start_check = function () end ,
13
+ end_check = function () end ,
14
+ spaces_list_str = function () return ' ' end ,
15
+ run_check = function () return {} end ,
16
+ }
17
+ end
18
+
5
19
--- Set of illegal params.
6
20
--
7
21
-- @table illegal_types
Original file line number Diff line number Diff line change @@ -564,4 +564,5 @@ return {
564
564
appoint_leaders_check = appoint_leaders_check ,
565
565
566
566
feature = feature ,
567
+ version_is_at_least = version_is_at_least ,
567
568
}
You can’t perform that action at this time.
0 commit comments