Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Copy chunk bytes in TSDB store before sending to client
During head compaction mmaped memory gets released while gRPC is marshaling bytes from that same memory region. This leads to a fatal segfault and crashes the receiver. The segfault happens when marshaling chunks specifically. This commit modifies the TSDB store server to copy chunk bytes before sending them to the client. I tried running this for a while and saw no significant increase in memory usage. Signed-off-by: Filip Petkovski <[email protected]>
- Loading branch information