Commit d5066d4
authored
Allow for mark == bytes.length. (elastic#128340) (elastic#128466)
In the case that the mark is at the very end of the stream,
the slice's stream could already be closed by the time we
call reset(), and so the stream must be reopened.1 parent a4d21b2 commit d5066d4
File tree
1 file changed
+2
-1
lines changed- server/src/test/java/org/elasticsearch/index/snapshots/blobstore
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
| 181 | + | |
| 182 | + | |
182 | 183 | | |
183 | 184 | | |
184 | 185 | | |
| |||
0 commit comments