Commit 9b0cbec
authored
Lazy compute description in ReplicationRequest.createTask (elastic#117783) (elastic#117804)
These can at times be quite long strings, no need to materialize
unless requested. This is showing up as allocating needless heap of
O(GB) in some benchmarks during indexing needlessly.1 parent 5e4757e commit 9b0cbec
File tree
1 file changed
+6
-1
lines changed- server/src/main/java/org/elasticsearch/action/support/replication
1 file changed
+6
-1
lines changedLines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
214 | 219 | | |
215 | 220 | | |
216 | 221 | | |
| |||
0 commit comments