Commit 6c8228a
committed
DocValuesConsumerUtil tweak (elastic#132586)
Be more strict about not finding a metadata entry based on field info number.
If this were to happen, then this can cause issues in doc value consumer later.
An example of such a failure is what is fixed via elastic#132597, here with shrinking
the local segment and merged field numbers were not aligned causing serious
merge errors in the tsdb doc value consumer. Currently such an issue shouldn't
occur anymore.1 parent 3c5698b commit 6c8228a
File tree
1 file changed
+15
-0
lines changed- server/src/main/java/org/elasticsearch/index/codec/tsdb/es819
1 file changed
+15
-0
lines changedLines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
67 | 70 | | |
68 | 71 | | |
69 | 72 | | |
70 | 73 | | |
71 | 74 | | |
72 | 75 | | |
73 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
74 | 80 | | |
75 | 81 | | |
76 | 82 | | |
77 | 83 | | |
78 | 84 | | |
79 | 85 | | |
80 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
81 | 90 | | |
82 | 91 | | |
83 | 92 | | |
| |||
90 | 99 | | |
91 | 100 | | |
92 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
93 | 105 | | |
94 | 106 | | |
95 | 107 | | |
| |||
98 | 110 | | |
99 | 111 | | |
100 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
101 | 116 | | |
102 | 117 | | |
103 | 118 | | |
| |||
0 commit comments