Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FLINK-11280] [rocksdb] Lazily create RocksDBSerializedCompositeKeyBu…
…ilder only after restore Prior to this commit, the composite key builder was created in the constructor of the RocksDBKeyedStateBackend. The creation of the builder requires providing a key serializer. This is problematic, because the key serializer may be reconfigured during the restore phase, therefore invalidating the key serializer used by the composite key builder. This commit resolves this by lazily creating the composite key builder only after the restore phase, which would be the point-in-time when we are certain the key serializer will no longer be changed and is final.
- Loading branch information