Commit bb23d3b
authored
Remove allocation id from replica replication response (#25488)
The replica replication response object has an extra allocationId field that contains the allocation id of the replica on which the request was executed. As we are sending the allocation id with the actual replica replication request, and check when executing the replica replication action that the allocation id of the replica shard is what we expect, there is no need to communicate back the allocation id as part of the response object.1 parent 6ae4497 commit bb23d3b
File tree
8 files changed
+12
-34
lines changed- core/src
- main/java/org/elasticsearch
- action
- resync
- support/replication
- index/seqno
- test/java/org/elasticsearch
- action/support/replication
- index/replication
8 files changed
+12
-34
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| |||
429 | 429 | | |
430 | 430 | | |
431 | 431 | | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | 432 | | |
436 | 433 | | |
437 | 434 | | |
| |||
Lines changed: 4 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
523 | 524 | | |
524 | 525 | | |
525 | 526 | | |
526 | | - | |
527 | | - | |
| 527 | + | |
528 | 528 | | |
529 | 529 | | |
530 | 530 | | |
| |||
1011 | 1011 | | |
1012 | 1012 | | |
1013 | 1013 | | |
1014 | | - | |
1015 | 1014 | | |
1016 | 1015 | | |
1017 | 1016 | | |
1018 | 1017 | | |
1019 | 1018 | | |
1020 | | - | |
1021 | | - | |
| 1019 | + | |
1022 | 1020 | | |
1023 | 1021 | | |
1024 | 1022 | | |
| |||
1027 | 1025 | | |
1028 | 1026 | | |
1029 | 1027 | | |
1030 | | - | |
1031 | 1028 | | |
1032 | 1029 | | |
| 1030 | + | |
1033 | 1031 | | |
1034 | 1032 | | |
1035 | 1033 | | |
| |||
1038 | 1036 | | |
1039 | 1037 | | |
1040 | 1038 | | |
1041 | | - | |
1042 | 1039 | | |
1043 | 1040 | | |
1044 | 1041 | | |
| |||
1049 | 1046 | | |
1050 | 1047 | | |
1051 | 1048 | | |
1052 | | - | |
1053 | | - | |
1054 | | - | |
1055 | | - | |
1056 | | - | |
1057 | 1049 | | |
1058 | 1050 | | |
1059 | 1051 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
Lines changed: 2 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
464 | 464 | | |
465 | 465 | | |
466 | 466 | | |
467 | | - | |
468 | 467 | | |
469 | 468 | | |
470 | | - | |
471 | | - | |
| 469 | + | |
472 | 470 | | |
473 | 471 | | |
474 | 472 | | |
475 | 473 | | |
476 | 474 | | |
477 | 475 | | |
478 | 476 | | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | 477 | | |
485 | 478 | | |
486 | 479 | | |
| |||
515 | 508 | | |
516 | 509 | | |
517 | 510 | | |
518 | | - | |
| 511 | + | |
519 | 512 | | |
520 | 513 | | |
521 | 514 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
636 | 636 | | |
637 | 637 | | |
638 | 638 | | |
639 | | - | |
640 | | - | |
| 639 | + | |
641 | 640 | | |
642 | 641 | | |
643 | 642 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | | - | |
290 | | - | |
| 289 | + | |
291 | 290 | | |
292 | 291 | | |
293 | 292 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
537 | 537 | | |
538 | 538 | | |
539 | 539 | | |
540 | | - | |
541 | | - | |
542 | | - | |
| 540 | + | |
543 | 541 | | |
544 | 542 | | |
545 | 543 | | |
| |||
0 commit comments