TTL setting exceptions

Hey, just wondering. is there a situation where TTL is not respected
by ES?

I did switch to 19.2, but I noticed in my 18.6 index, documents
stopped expiring at some point. I was providing the _ttl in the source
document, which per the docs should be working (and it definitely used
to work).

My insertions are all using the _bulk api, if that helps.

thanks!

Hey oren,

I have just tested the TTL feature using _bulk api with ES 0.19.2 and
it worked fine for me.

Can you gist a simple recreation of the bug?

On Mon, Apr 16, 2012 at 3:31 PM, Oren Mazor oren.mazor@gmail.com wrote:

Hey, just wondering. is there a situation where TTL is not respected
by ES?

I did switch to 19.2, but I noticed in my 18.6 index, documents
stopped expiring at some point. I was providing the _ttl in the source
document, which per the docs should be working (and it definitely used
to work).

My insertions are all using the _bulk api, if that helps.

thanks!

--
Benjamin DEVEZE

Hey Benjamin. We've fixed the issue. there was a corner case where the
TTL did not get set correctly.

cheers!

On Apr 16, 2:35 pm, Benjamin Devèze benjamin.dev...@gmail.com wrote:

Hey oren,

I have just tested the TTL feature using _bulk api with ES 0.19.2 and
it worked fine for me.

Can you gist a simple recreation of the bug?

On Mon, Apr 16, 2012 at 3:31 PM, Oren Mazor oren.ma...@gmail.com wrote:

Hey, just wondering. is there a situation where TTL is not respected
by ES?

I did switch to 19.2, but I noticed in my 18.6 index, documents
stopped expiring at some point. I was providing the _ttl in the source
document, which per the docs should be working (and it definitely used
to work).

My insertions are all using the _bulk api, if that helps.

thanks!

--
Benjamin DEVEZE