Commit 981127d
Add Channel Factory parameter to Translog (#18918)
* Add overload for channelFactory
Signed-off-by: Rajat Gupta <gptrajat@amazon.com>
* Fix tests
Signed-off-by: Rajat Gupta <gptrajat@amazon.com>
* Add Changelog entry
Signed-off-by: Rajat Gupta <gptrajat@amazon.com>
* Fix conflicts
Signed-off-by: Rajat Gupta <gptrajat@amazon.com>
* When update operations fail during preparation (e.g., version conflicts), (#18917)
TransportShardBulkAction still triggers refresh even though no actual
writes occurred. This fix checks if locationToSync is null (indicating
no writes) and prevents refresh in such cases.
Fixes #15261
Signed-off-by: Atri Sharma <atri.jiit@gmail.com>
* Remove all entries from changelog to be released in 3.2 (#18989)
Signed-off-by: Andrew Ross <andrross@amazon.com>
* Add temporal routing processors for time-based document routing (#18966)
Implements TemporalRoutingProcessor for ingest pipelines and
TemporalRoutingSearchProcessor for search pipelines based on RFC #18920.
Features:
- Route documents to shards based on timestamp fields
- Support hour, day, week, and month granularities
- Optional hash bucketing for better distribution
- Automatic search routing to relevant time ranges
- ISO week format support
The processors enable efficient time-based data organization for
log and metrics workloads by co-locating documents from the same
time period on the same shards.
---------
Signed-off-by: Atri Sharma <atri.jiit@gmail.com>
* Add CompletionStage variants to methods in the Client Interface and default to ActionListener impl (#18998)
* Add CompletableFuture variables to methods in the Client Interface and default to ActionListener impl
Signed-off-by: Craig Perkins <cwperx@amazon.com>
* Add to CHANGELOG
Signed-off-by: Craig Perkins <cwperx@amazon.com>
* Fix typo in CHANGELOG
Signed-off-by: Craig Perkins <cwperx@amazon.com>
* Switch to CompletionStage
Signed-off-by: Craig Perkins <cwperx@amazon.com>
* Update CHANGELOG entry
Signed-off-by: Craig Perkins <cwperx@amazon.com>
---------
Signed-off-by: Craig Perkins <cwperx@amazon.com>
* Expand fetch phase profiling to support inner hits and top hits aggregation phases (#18936)
---------
Signed-off-by: Andre van de Ven <andrebvandeven@gmail.com>
Signed-off-by: Andre van de Ven <113951599+andrevandeven@users.noreply.github.com>
Signed-off-by: Andre van de Ven <andrevdv@amazon.com>
Co-authored-by: Andre van de Ven <andrevdv@amazon.com>
* IllegalArgumentException when scroll ID has a node no longer part of the Cluster (#19031)
---------
Signed-off-by: Anurag Rai <anurag.rai@uber.com>
Signed-off-by: Anurag Rai <91844619+anuragrai16@users.noreply.github.com>
* Add Changelog entry
Signed-off-by: Rajat Gupta <gptrajat@amazon.com>
* Add secondary constructor
Signed-off-by: Rajat Gupta <gptrajat@amazon.com>
* Modify changelog
Signed-off-by: Rajat Gupta <gptrajat@amazon.com>
* Update changelog
Signed-off-by: Rajat Gupta <gptrajat@amazon.com>
* Add another constructor to fix breaking change check
Signed-off-by: Rajat Gupta <gptrajat@amazon.com>
---------
Signed-off-by: Rajat Gupta <gptrajat@amazon.com>
Signed-off-by: Atri Sharma <atri.jiit@gmail.com>
Signed-off-by: Andrew Ross <andrross@amazon.com>
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Signed-off-by: Andre van de Ven <andrebvandeven@gmail.com>
Signed-off-by: Andre van de Ven <113951599+andrevandeven@users.noreply.github.com>
Signed-off-by: Andre van de Ven <andrevdv@amazon.com>
Signed-off-by: Anurag Rai <anurag.rai@uber.com>
Signed-off-by: Anurag Rai <91844619+anuragrai16@users.noreply.github.com>
Co-authored-by: Rajat Gupta <gptrajat@amazon.com>
Co-authored-by: Atri Sharma <atri.jiit@gmail.com>
Co-authored-by: Andrew Ross <andrross@amazon.com>
Co-authored-by: Craig Perkins <cwperx@amazon.com>
Co-authored-by: Andre van de Ven <113951599+andrevandeven@users.noreply.github.com>
Co-authored-by: Andre van de Ven <andrevdv@amazon.com>
Co-authored-by: Anurag Rai <91844619+anuragrai16@users.noreply.github.com>1 parent f5d41fb commit 981127d
File tree
14 files changed
+160
-104
lines changed- server/src
- main/java/org/opensearch/index/translog
- test/java/org/opensearch/index
- engine
- translog
- test/framework/src/main/java/org/opensearch/index/engine
14 files changed
+160
-104
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
67 | | - | |
| 68 | + | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
Lines changed: 28 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
62 | | - | |
| 63 | + | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| |||
113 | 115 | | |
114 | 116 | | |
115 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
116 | 142 | | |
117 | 143 | | |
118 | 144 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
| 126 | + | |
126 | 127 | | |
127 | 128 | | |
128 | 129 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
| 94 | + | |
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
| |||
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
| 112 | + | |
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| |||
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
120 | | - | |
| 121 | + | |
| 122 | + | |
121 | 123 | | |
122 | 124 | | |
123 | 125 | | |
| |||
Lines changed: 32 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| 157 | + | |
157 | 158 | | |
158 | 159 | | |
159 | 160 | | |
| |||
182 | 183 | | |
183 | 184 | | |
184 | 185 | | |
185 | | - | |
| 186 | + | |
| 187 | + | |
186 | 188 | | |
187 | 189 | | |
188 | 190 | | |
| |||
198 | 200 | | |
199 | 201 | | |
200 | 202 | | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
201 | 228 | | |
202 | 229 | | |
203 | 230 | | |
| |||
218 | 245 | | |
219 | 246 | | |
220 | 247 | | |
221 | | - | |
| 248 | + | |
| 249 | + | |
222 | 250 | | |
223 | 251 | | |
224 | 252 | | |
| |||
324 | 352 | | |
325 | 353 | | |
326 | 354 | | |
327 | | - | |
| 355 | + | |
328 | 356 | | |
329 | 357 | | |
330 | 358 | | |
| |||
1931 | 1959 | | |
1932 | 1960 | | |
1933 | 1961 | | |
1934 | | - | |
| 1962 | + | |
1935 | 1963 | | |
1936 | 1964 | | |
1937 | 1965 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
| 225 | + | |
| 226 | + | |
226 | 227 | | |
227 | 228 | | |
228 | 229 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4182 | 4182 | | |
4183 | 4183 | | |
4184 | 4184 | | |
4185 | | - | |
| 4185 | + | |
| 4186 | + | |
4186 | 4187 | | |
4187 | 4188 | | |
4188 | 4189 | | |
| |||
0 commit comments