2.10.2 File Content

Every field is a record in the recoverable storage file format, as specified in section 2.2.4, except for the source indexes, which is an array whose members are individual records.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Merge log signature

Merge type

Target index ComponentID

Target index IndexID

Source indexes (variable)

...

Split key descriptor (variable)

...

Unused split key (variable)

...

Merge log signature (4 bytes): A 32-bit unsigned integer that identifies the type of merge log file. This MUST be one of the values from the following table.

Value

Description

0x474C4D53

Shadow merge log file

0x474C4D4D

Master merge log file

0x4C4D5356<26>

Extended shadow merge log file

0x4C4D4D56<27>

Extended master merge log file

Merge type (4 bytes): A 32-bit unsigned integer that identifies the type of merge. This MUST be one of the values from the following table.

Value

Description

0x00000002

Shadow merge

0x00000003

Master merge

The value of the Merge type field MUST be "Shadow merge" if the value of the Merge log signature field is "Shadow merge log file" and MUST be "Master merge" if the value of the Merge log signature field is "Master merge log file".

The value of the Merge type field MUST be "Shadow merge" if the value of the Merge log signature field is "Extended shadow merge log file" and MUST be "Master merge" if the value of the Merge log signature field is "Extended master merge log file".

Target index ComponentID (4 bytes): A 32-bit unsigned integer that MUST be equal to the value of Target index IndexID field.

Target index IndexID (4 bytes): A 32-bit unsigned integer that specifies the index identifier of the target full-text index component.

Source indexes (variable): An array of 32-bit unsigned integers that specify the index identifiers of source full-text index components. Every index identifier is counted as a separate record in the recoverable storage data file. The number of source indexes is specified in the cIndexes field of the merge log user header, as specified in section 2.10.1.

Split key descriptor (variable): A CMergeSplitKey structure, as specified in section 2.10.3. that stores information about progress of the merge process, as specified in section 2.9.

Unused split key (variable): A CMergeSplitKey structure that MUST be ignored. It MUST only be present when the value of the Merge type field is "Master merge".