grc-iit / ChronoLog

ChronoLog: A High-Performance Storage Infrastructure for Activity and Log Workloads
https://chronolog.dev
BSD 2-Clause "Simplified" License
5 stars 4 forks source link

Handle failed deserialization of partial StoryChunk #166

Closed fkengun closed 2 months ago

fkengun commented 4 months ago

When a Grapher fails to deserialize a received partial StoryChunk, the broken StoryChunk should not be inserted into the pipeline in Grapher. It should be handled as an error during network communication. An error code needs to be returned in the RPC call.

fkengun commented 4 months ago

Grapher needs to return an error code to the Keeper about the StoryChunk that failed to deserialize. The Keeper needs to return that StoryChunk back to the extraction queue for another thread to re-extract it.