@@ -35,19 +35,19 @@ Every change to the transport protocol is represented by a new transport version
35
35
higher than all previous transport versions, which then becomes the highest version
36
36
recognized by that build of Elasticsearch. The version ids are stored
37
37
as constants in the ` TransportVersions ` class.
38
- Each id has a standard pattern ` M_NNN_SS_P ` , where:
38
+ Each id has a standard pattern ` M_NNN_S_PP ` , where:
39
39
* ` M ` is the major version
40
40
* ` NNN ` is an incrementing id
41
- * ` SS ` is used in subsidiary repos amending the default transport protocol
42
- * ` P ` is used for patches and backports
41
+ * ` S ` is used in subsidiary repos amending the default transport protocol
42
+ * ` PP ` is used for patches and backports
43
43
44
44
When you make a change to the serialization form of any object,
45
45
you need to create a new sequential constant in ` TransportVersions ` ,
46
46
introduced in the same PR that adds the change, that increments
47
47
the ` NNN ` component from the previous highest version,
48
48
with other components set to zero.
49
- For example, if the previous version number is ` 8_413_00_1 ` ,
50
- the next version number should be ` 8_414_00_0 ` .
49
+ For example, if the previous version number is ` 8_413_0_01 ` ,
50
+ the next version number should be ` 8_414_0_00 ` .
51
51
52
52
Once you have defined your constant, you then need to use it
53
53
in serialization code. If the transport version is at or above the new id,
@@ -166,7 +166,7 @@ also has that change, and knows about the patch backport ids and what they mean.
166
166
167
167
Index version is a single incrementing version number for the index data format,
168
168
metadata, and associated mappings. It is declared the same way as the
169
- transport version - with the pattern ` M_NNN_SS_P ` , for the major version, version id,
169
+ transport version - with the pattern ` M_NNN_S_PP ` , for the major version, version id,
170
170
subsidiary version id, and patch number respectively.
171
171
172
172
Index version is stored in index metadata when an index is created,
0 commit comments