apache / apache/brpc

传输snappy压缩数据,出现数据丢失,求大佬看看🙏

Open
#2,790 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
17.6k
Forks
4.1k
Avg merge
2d 12h
Merged PRs (30d)
69

Description

利用request_attachment传输snappy压缩后的二进制数据,在请求量偏大时,从request_attachment取出该数据,存在数据丢失问题。
![image](https://github.com/user-attachments/assets/de693fcb-2373-40cc-9d9e-d5cf0e4f4939)

Contributor guide

Open the contributing guide

Research direction

The issue names request_attachment and Snappy-compressed binary data, but no source files, tests, or entry points. Start by reproducing the loss under high request volume and trace the data from transmission through retrieval. Done means the retrieved bytes consistently match the sent bytes, with a regression test covering the reported case.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.