Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue about json compress #18764

Open
truongca1902 opened this issue Jan 9, 2024 · 5 comments
Open

issue about json compress #18764

truongca1902 opened this issue Jan 9, 2024 · 5 comments

Comments

@truongca1902
Copy link

truongca1902 commented Jan 9, 2024

Hi I have a problem about rolling back the version of file .json as follows
I uploaded a file with a capacity of 47kib
Then I restored it and found it was only 6.9kib and when I got the file it couldn't be read
This problem was only resolved when I turned off the json file compression feature (but only applies to uploaded files after turning off the feature).
Is there any other solution or is this a bug of minio
image

@klauspost
Copy link
Contributor

What do you mean by "when I turned off the json file compression feature".

Also please list your complete setup, server versions as requested by the template.

@klauspost klauspost added the incomplete info Incomplete information label Jan 9, 2024
@truongca1902
Copy link
Author

server versions as requested by the template.
this is my setup

MINIO_VOLUMES="http://minio{1...4}.com:9000/mnt/data{1...4}/ http://minio{5...8}.com:9000/mnt/data{1...4}/"
MINIO_OPTS="--console-address :9001"

MINIO_ROOT_USER=******


MINIO_ROOT_PASSWORD=*****************

MINIO_SERVER_URL="https://minio.local.vn"

my version
image
my config turn off compress json
image
data file content after restore
image

@klauspost
Copy link
Contributor

ok, so when you say you "restored it" - what did you do exactly?

@truongca1902
Copy link
Author

truongca1902 commented Jan 10, 2024

ok, so when you say you "restored it" - what did you do exactly?
I performed the restore on the GUI
image
and
and you can see that the two versions have different sizes
image

@klauspost klauspost self-assigned this Jan 10, 2024
@klauspost
Copy link
Contributor

OK. Thanks! I will see if I can replicate and see what is happening.

@harshavardhana harshavardhana added priority: medium and removed triage incomplete info Incomplete information labels Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants