Hi kakaiu, with your help, I have successfully generated the SST files and the manifest file, as well as the job-manifest.txt file.
fileStructure like this:
[root@fdb 0c7f799c408a4481bb31f418061f78ba]# tree
.
├── 0
│ ├── 0-data.sst
│ └── 0-manifest.txt
├── 1
│ ├── 1-data.sst
│ └── 1-manifest.txt
├── 2
│ ├── 2-data.sst
│ └── 2-manifest.txt
├── 3
│ ├── 3-data.sst
│ └── 3-manifest.txt
├── 4
│ ├── 4-data.sst
│ └── 4-manifest.txt
├── 5
│ ├── 5-data.sst
│ └── 5-manifest.txt
└── job-manifest.txt
6 directories, 13 files
And the job-manifest.txt :
[FormatVersion]: 1, [ManifestCount]: 6
[BeginKey]: 00 05 01 00 00 00 03 00, [EndKey]: 00 05 01 00 00 00 03 00 04 00 00 00 33 39 39 39 00 00 00 00 03 00 00 00, [ManifestRelativePath]: 0c7f799c408a4481bb31f418061f78ba/0/0-manifest.txt, [Version]: 0, [Bytes]: 94770
[BeginKey]: 00 05 01 00 00 00 03 00 04 00 00 00 33 39 39 39 00 00 00 00 03 00 00 00, [EndKey]: 00 05 01 00 00 00 03 00 0e 00 00 00 38 33 38 34 38 33 30 39 33 31 33 34 32 33 00 00 00 00 08 00 00 00, [ManifestRelativePath]: 0c7f799c408a4481bb31f418061f78ba/1/1-manifest.txt, [Version]: 1, [Bytes]: 58821993
[BeginKey]: 00 05 01 00 00 00 03 00 0e 00 00 00 38 33 38 34 38 33 30 39 33 31 33 34 32 33 00 00 00 00 08 00 00 00, [EndKey]: 00 05 01 00 00 00 03 00 0e 00 00 00 38 36 30 34 37 33 31 35 39 36 37 36 35 38 00 00 00 00 08 00 00 00, [ManifestRelativePath]: 0c7f799c408a4481bb31f418061f78ba/2/2-manifest.txt, [Version]: 2, [Bytes]: 58084049
[BeginKey]: 00 05 01 00 00 00 03 00 0e 00 00 00 38 36 30 34 37 33 31 35 39 36 37 36 35 38 00 00 00 00 08 00 00 00, [EndKey]: 00 05 01 00 00 00 03 00 0e 00 00 00 38 37 31 34 36 38 35 39 31 37 36 35 30 35 00 00 00 00 08 00 00 00, [ManifestRelativePath]: 0c7f799c408a4481bb31f418061f78ba/3/3-manifest.txt, [Version]: 3, [Bytes]: 56563968
[BeginKey]: 00 05 01 00 00 00 03 00 0e 00 00 00 38 37 31 34 36 38 35 39 31 37 36 35 30 35 00 00 00 00 08 00 00 00, [EndKey]: 00 05 01 00 00 00 03 00 0e 00 00 00 38 38 37 39 36 31 32 36 39 32 33 31 36 36 00 00 00 00 08 00 00 00, [ManifestRelativePath]: 0c7f799c408a4481bb31f418061f78ba/4/4-manifest.txt, [Version]: 4, [Bytes]: 51414663
[BeginKey]: 00 05 01 00 00 00 03 00 0e 00 00 00 38 38 37 39 36 31 32 36 39 32 33 31 36 36 00 00 00 00 08 00 00 00, [EndKey]: 00 05 01 00 00 00 03 00 ff, [ManifestRelativePath]: 0c7f799c408a4481bb31f418061f78ba/5/5-manifest.txt, [Version]: 5, [Bytes]: 103676
One of manifest file:
[FormatVersion]: 1, [RootPath]: /home/Ruby/bulkload/, [RelativePath]: 0c7f799c408a4481bb31f418061f78ba/0, [ManifestFileName]: 0-manifest.txt, [DataFileName]: 0-data.sst, [ByteSampleFileName]: , [ChecksumValue]: , [ChecksumMethod]: , [BeginKey]: 00 05 01 00 00 00 03 00, [EndKey]: 00 05 01 00 00 00 03 00 04 00 00 00 33 39 39 39 00 00 00 00 03 00 00 00, [Version]: 0, [Bytes]: 94770, [KeyCount]: 999, [ByteSampleVersion]: 0, [ByteSampleMethod]: , [ByteSampleFactor]: 250, [ByteSampleOverhead]: 100, [ByteSampleMinimalProbability]: 0.000000, [loadType]: 1, [TransportMethod]: 1
I then build a new Fdb cluster and tried to perform a bulkload
After executing the following command:
bulkload load 0c7f799c408a4481bb31f418061f78ba \x00\x05\x01\x00\x00\x00\x03\x00 \x00\x05\x01\x00\x00\x00\x03\x00\xff /home/Ruby/bulkload/
I got some error and log:
<Event Severity="40" ErrorKind="BugDetected" Time="1747321177.148717" DateTime="2025-05-15T14:59:37Z" Type="InternalError" ID="0000000000000000" Error="internal_error" ErrorDescription="An internal error occurred" ErrorCode="4100" FailedAssertion="rangeResult.size() >= 2 && rangeResult.size() <= 3" File="/home/foundationdb_ci/src/oOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOoOo/foundationdb/fdbserver/DataDistribution.actor.cpp" Line="1447" ThreadID="3005844978757111542" Backtrace="addr2line -e fdbserver.debug -p -C -f -i 0x5a9ccaf 0x5a9cfa9 0x5a97104 0x59c392c 0x29e7bc8 0x29e784c 0x234d8b8 0x234d742 0x4a4ec58 0x4a4ea52 0x4d60234 0x4d4e342 0x4d5f188 0x4d5efe2 0x4d5e518 0x4d5e3aa 0x4d519d1 0x4d53998 0x4d5385c 0x277c168 0x277b700 0x1eda468 0x1eda17a 0x586dc44 0x586d53c 0x5a21088 0x3551b97 0x7f60211eb1b7" Machine="10.155.106.44:4500" LogGroup="default" Roles="CC,CD,CP,CS,DD,GP,MS,RK,RV" />
<Event Severity="40" ErrorKind="Unset" Time="1747321177.148717" DateTime="2025-05-15T14:59:37Z" Type="SystemError" ID="0000000000000000" Error="internal_error" ErrorDescription="An internal error occurred" ErrorCode="4100" ThreadID="3005844978757111542" Backtrace="addr2line -e fdbserver.debug -p -C -f -i 0x5a9ccaf 0x5a9cfa9 0x5a97104 0x59c3d70 0x59c393f 0x29e7bc8 0x29e784c 0x234d8b8 0x234d742 0x4a4ec58 0x4a4ea52 0x4d60234 0x4d4e342 0x4d5f188 0x4d5efe2 0x4d5e518 0x4d5e3aa 0x4d519d1 0x4d53998 0x4d5385c 0x277c168 0x277b700 0x1eda468 0x1eda17a 0x586dc44 0x586d53c 0x5a21088 0x3551b97 0x7f60211eb1b7" Machine="10.155.106.44:4500" LogGroup="default" Roles="CC,CD,CP,CS,DD,GP,MS,RK,RV" />
The corresponding code is here.
https://github.com/apple/foundationdb/blob/717bdb794452bed25ca1cf3ce29ec3c06089137b/fdbserver/DataDistribution.actor.cpp#L1469
It seems that the issue might be caused by multiple jobs being executed at the same time. However, I’m sure that I only submitted one task.
May I ask what could be the possible reason for this?
Thanks!!!