state reset(lost) on TM recovery
Posted by
Alexey Trenikhun on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/state-reset-lost-on-TM-recovery-tp40492.html
Hello,
I'm using Flink 1.11.3, state backend is rocksdn. I have streaming job which reads from Kafka, transforms data and output into Kafka, one of processing nodes is KeyedCoProcessFunction with ValueState:
- generated some input data, I see in log that state.update() is called and subsequent state.value() return not null
- wait for checkpoint
- restart taskmanager
- state.value() returns null
I've tried to change backend from rocksdb to filesystem - same result, after taskmanager restart state.value() returns null
Any ideas, what could cause resetting state to null?
Thanks,
Alexey