Commit eea04eb
authored
MB-71131: Support file writer callbacks for trained index (#2379)
- implement the `fileWriterIDs` and `removeFileWriterIDs` APIs which
fetch and remove the file writer IDs/keys corresponding to the trained
segment.
- refactor the request handling + ack mechanism of the trainLoop()
- update the destination index's bolt with the trained sample count, for
consistent stats1 parent bc8495d commit eea04eb
3 files changed
Lines changed: 326 additions & 103 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
126 | 129 | | |
127 | 130 | | |
128 | 131 | | |
| |||
1116 | 1119 | | |
1117 | 1120 | | |
1118 | 1121 | | |
1119 | | - | |
1120 | | - | |
1121 | | - | |
1122 | | - | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
1123 | 1128 | | |
1124 | 1129 | | |
1125 | 1130 | | |
| |||
1332 | 1337 | | |
1333 | 1338 | | |
1334 | 1339 | | |
| 1340 | + | |
| 1341 | + | |
| 1342 | + | |
| 1343 | + | |
| 1344 | + | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
1335 | 1350 | | |
1336 | 1351 | | |
1337 | 1352 | | |
| |||
1354 | 1369 | | |
1355 | 1370 | | |
1356 | 1371 | | |
| 1372 | + | |
| 1373 | + | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
1357 | 1379 | | |
1358 | 1380 | | |
1359 | 1381 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
0 commit comments