Skip to content

Conversation

@gazi-yestemirova
Copy link
Contributor

@gazi-yestemirova gazi-yestemirova commented Nov 3, 2025

What changed?
This PR implements snappy framed decompression of data for all data written to etcd in the shard distributor store.

Implementation includes:

  • All reads go through Decompress() which handles both compressed & uncompressed formats.
  • All writes remain uncompressed
  • Automatic detection of compressed vs uncompressed data via magic header.

Compression logic will be implemented in another PR as part2.

Why?
Since we are enabling the snappy compression, we need to make sure first all the data will be decompressed before processing.

How did you test it?
unit-test and local testing

Potential risks

Release notes

Documentation Changes

Signed-off-by: Gaziza Yestemirova <gaziza@uber.com>
Signed-off-by: Gaziza Yestemirova <gaziza@uber.com>
Signed-off-by: Gaziza Yestemirova <gaziza@uber.com>
@gazi-yestemirova gazi-yestemirova merged commit c6309c3 into cadence-workflow:master Nov 4, 2025
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants