Aravindan Vijayan created HDDS-3924:
---------------------------------------
Summary: Move away from proto serialization for RocksDB keys in
Ozone
Key: HDDS-3924
URL: https://issues.apache.org/jira/browse/HDDS-3924
Project: Hadoop Distributed Data Store
Issue Type: Task
Components: Ozone Manager, SCM
Reporter: Aravindan Vijayan
Assignee: Aravindan Vijayan
Fix For: 0.6.0
Currently there are a few places where we rely on protobuf serialization to
convert the key type to byte array for a RocksDB column family 'key'. However,
from the proto
[documentation|https://developers.google.com/protocol-buffers/docs/encoding#implications]
it looks like the serialization of proto is unreliable (especially across
versions). If the byte[] got from proto serialization changes, this will be a
problem since old keys will be unreadable.
Thanks to [~arp] who helped unearth this problem.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]