Darrel Schneider created GEODE-9849:
---------------------------------------

             Summary: validate serialized blobs when they are stored on a server
                 Key: GEODE-9849
                 URL: https://issues.apache.org/jira/browse/GEODE-9849
             Project: Geode
          Issue Type: Improvement
          Components: client/server, core, serialization
            Reporter: Darrel Schneider


When a client sends a value to a server, geode try to not deserialize it. It 
instead just takes the bytes sent to it from the client and stores them on the 
server. But is some very rare instances the blob may be corrupt. It would be 
nice if the server could validate the blob BEFORE storing it (and distributing 
it to other servers and writing to a disk store and sending it over a gateway).
How much validation geode can do without impacting performance and without 
requiring the server to be able to fully deserialize it not clear. But one 
validation it could definitely do is to check the first byte of the blob and 
make sure it is a valid DSCODE. This would detect some of the corruptions we 
have seen in the past (i.e. "unknown header byte" issues) and be a very 
efficient check.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to