sjwiesman commented on a change in pull request #15527: URL: https://github.com/apache/flink/pull/15527#discussion_r609965018
########## File path: docs/content/docs/ops/state/state_backends.md ########## @@ -71,6 +71,7 @@ This will ensure that the maximum amount of memory is allocated for user code on The EmbeddedRocksDBStateBackend holds in-flight data in a [RocksDB](http://rocksdb.org) database that is (per default) stored in the TaskManager local data directories. +Unlike storing java objects in HashMapStateBackend, data are hold in bytes format which mainly defined by serializer resulting in objects are compared byte-wise instead of using java's `hashCode()` and `equals()` methods. Review comment: ```suggestion Unlike storing java objects in HashMapStateBackend, data is stored as serialized byte arrays, which mainly defined by the types serializer, resulting in key comparisons being byte-wise instead of using java's `hashCode()` and `equals()` methods. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
