I tried with proper ignite.stopAll() and it worked as expected!!

So with a node crash, those expiration related metadata not got persisted.
Is there a time for it to write and flush to disk ?

On Wed, Mar 21, 2018 at 12:55 AM Subash Chaturanga <subash...@gmail.com>
wrote:

> Hi Val,
> Only one node running. And at step 2 when you say, wait for output and
> stop, did you mean Ignite.stop() or kill -9 jvm.
>
> What I do is kill -9.
>
> On Tue, Mar 20, 2018 at 9:21 PM vkulichenko <valentin.kuliche...@gmail.com>
> wrote:
>
>> Subash,
>>
>> When you run the test, is this the only node, or there are some other
>> nodes
>> running? I actually can't reproduce the issue even with your code. Here is
>> what I do:
>> - Clean up the work directory.
>> - Run the test, wait for output, stop.
>> - Comment out 'put' invocations.
>> - Run again.
>>
>> The output on the second one is the following:
>>
>> Tue Mar 20 18:10:30 PDT 2018---->>>null
>> Tue Mar 20 18:10:30 PDT 2018---->>>null
>> Tue Mar 20 18:10:50 PDT 2018---->>>null
>> Tue Mar 20 18:10:50 PDT 2018---->>>null
>>
>> So expiration works as expected to me. Am I missing something?
>>
>> -Val
>>
>>
>>
>> --
>> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>>
> --
> /subash
>
-- 
/subash

Reply via email to