You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.
The cursor data is managed by ZooKeeper/etcd metadata store. When cursor data becomes more and more, the data size will increase and will take a lot of time to pull the data. Therefore, it is necessary to add compression for the cursor, which can reduce the size of data and reduce the time of pulling data.
Goal
Support use the LZ4/ZLIB/ZSTD/SNAPPY to compress the ManagedCursorInfo.
Currently, these compressions have been supported, we only need to deal with compression and decompression of the ManagedCursorInfo data:
Get CursorInfo from the metadata store
We will check the cursor data header, if it is compressed, we will parse the bytes data by compressed format, otherwise by the original way.
Add/Update CursorInfo to the metadata store
The default is to use compression if the compression type is specified.
The text was updated successfully, but these errors were encountered:
Original Issue: apache#14529
Motivation
The cursor data is managed by ZooKeeper/etcd metadata store. When cursor data becomes more and more, the data size will increase and will take a lot of time to pull the data. Therefore, it is necessary to add compression for the cursor, which can reduce the size of data and reduce the time of pulling data.
Goal
Support use the LZ4/ZLIB/ZSTD/SNAPPY to compress the ManagedCursorInfo.
Implementation
MAGIC_NUMBER
Ox4779
METADATA
Add a named
ManagedCursorInfoMetadata
message toMLDataFormats.proto
:Currently, these compressions have been supported, we only need to deal with compression and decompression of the
ManagedCursorInfo
data:Get CursorInfo from the metadata store
We will check the cursor data header, if it is compressed, we will parse the bytes data by compressed format, otherwise by the original way.
Add/Update CursorInfo to the metadata store
The default is to use compression if the compression type is specified.
The text was updated successfully, but these errors were encountered: