# Snapshot API blocked while snapshot creation is in progress

**URL:** <https://discuss.elastic.co/t/snapshot-api-blocked-while-snapshot-creation-is-in-progress/42730>\
**Category:** Elasticsearch\
**Created:** [February 25, 2016, 3:20pm UTC](https://discuss.elastic.co/t/snapshot-api-blocked-while-snapshot-creation-is-in-progress/42730 "2016-02-25T15:20:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![johananl](https://avatars.discourse-cdn.com/v4/letter/j/3e96dc/32.png) [@johananl](https://discuss.elastic.co/u/johananl)\
**Post date:** [February 25, 2016, 3:20pm UTC](https://discuss.elastic.co/t/snapshot-api-blocked-while-snapshot-creation-is-in-progress/42730/1 "2016-02-25T15:20:52Z")

</div>

Hi,

I've encountered the following problem:

When initiating an asynchronous snapshot creation (that is - without the wait\_for\_completion argument), the \_snapshot API seems to be blocked until the snapshot creation process is completed.  
As a result, any GET request to \_snapshot/whatever is waiting a long time until the snapshot has been created (or failed), however other APIs seems to work fine.

Any idea if this is expected behavior? In my humble opinion it would make sense to get an "IN\_PROGRESS" status when querying the status of a snapshot under creation.

Thanks and regards,  
Johanan - Emind

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 26, 2016, 12:37am UTC](https://discuss.elastic.co/t/snapshot-api-blocked-while-snapshot-creation-is-in-progress/42730/2 "2016-02-26T00:37:06Z")

</div>

Can you provide some output showing this behaviour?

---

<div class="post-metadata">

**Author:** ![johananl](https://avatars.discourse-cdn.com/v4/letter/j/3e96dc/32.png) [@johananl](https://discuss.elastic.co/u/johananl)\
**Post date:** [March 2, 2016, 11:12am UTC](https://discuss.elastic.co/t/snapshot-api-blocked-while-snapshot-creation-is-in-progress/42730/3 "2016-03-02T11:12:15Z")

</div>

Hi Mark,

I couldn't replicate the issue so I guess there's nothing we can do for now. I'll get back here if the issue reappears.

Thanks!

---

<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 5, 2017, 11:12pm UTC](https://discuss.elastic.co/t/snapshot-api-blocked-while-snapshot-creation-is-in-progress/42730/4 "2017-07-05T23:12:06Z")

</div>


