# What happens when I post the same scrollId after some timeout failure

**URL:** https://discuss.elastic.co/t/what-happens-when-i-post-the-same-scrollid-after-some-timeout-failure/14261
**Category:** Elasticsearch
**Created:** [November 5, 2013, 11:55am UTC](https://discuss.elastic.co/t/what-happens-when-i-post-the-same-scrollid-after-some-timeout-failure/14261 "2013-11-05T11:55:53Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Ron\_Sher](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ron_sher/32/4472_2.png) [@Ron\_Sher](https://discuss.elastic.co/u/Ron_Sher)
#### Post date: [November 5, 2013, 11:55am UTC](https://discuss.elastic.co/t/what-happens-when-i-post-the-same-scrollid-after-some-timeout-failure/14261/1 "2013-11-05T11:55:53Z")

</div>

Hi,

I'm using the scroll mechanism and was wondering what happens if during any  
of the requests I get a timeout failure (not a scroll timeout, but a  
timeout from the query) and then reissue the request with the same scroll  
id?  
Will I get the same batch that ES tried to return and failed, or will I get  
the next batch (and lose the previous failing batch)?

Thanks

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 2:08am UTC](https://discuss.elastic.co/t/what-happens-when-i-post-the-same-scrollid-after-some-timeout-failure/14261/2 "2017-07-06T02:08:53Z")

</div>


