Commit 4975e39
committed
internal: drop graceful shutdown feature flag
Graceful shutdown was introduced in Tarantool with [1]. A week later it
was reworked with [2]. So the timeline is as follows.
- Graceful shutdown is introduced, new feature flag is added and
the protocol version is bumped to 4.
- Graceful shutdown is reworked, feature flag is dropped and the
protocol version is dropped to 3.
- Next Tarantool version released.
So the idea for users is "IPROTO_FEATURE_GRACEFUL_SHUTDOWN and
protocol version 4 never existed". It also means that any new feature
flag may have value `4` (same as IPROTO_FEATURE_GRACEFUL_SHUTDOWN), but
with completely different meaning. IPROTO_FEATURE_GRACEFUL_SHUTDOWN flag
was added in [3] by mistake due to misunderstanding the event timeline.
This patch removes the flag. Since `_features` dict is an internal of a
connection object, the change shouldn't break anything for users.
1. tarantool/tarantool@6f29f9d
2. tarantool/tarantool@2e9cbec
3. #243
Closes #2621 parent 6c54109 commit 4975e39
3 files changed
+0
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | 66 | | |
68 | 67 | | |
69 | 68 | | |
| |||
514 | 513 | | |
515 | 514 | | |
516 | 515 | | |
517 | | - | |
518 | 516 | | |
519 | 517 | | |
520 | 518 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | 99 | | |
101 | 100 | | |
102 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
86 | 85 | | |
87 | 86 | | |
88 | 87 | | |
89 | | - | |
90 | 88 | | |
91 | 89 | | |
92 | 90 | | |
| |||
0 commit comments