The problem is when sync end up with error. I don't know how to reject changes in store.
In exception listener: there's

Code:

this.load();

It reload's the store from server. My new added item is not visible anywhere.
But then again I add another record (record2) and it's trying to send new record and previous ended with failure.
Again I add record(record3) and it's sending record2 as well (but not the first one).
Again I add record(record4) and it's sending record3 as well (but not the firsrt one and record 2). Only previous is beeing sent.
I'm reloading store 1,2,3,4 times, but again trying to add record5 it's sending record4

Where I can find this dirty record and throw it away. I'm using clearOnLoad = true, but it still there till next errror.

And there's more. If next record6 is ok and sync won't get failed, but record5 is send and tree is messed up. I need to refresh page, as it cannot get back to normal state