rocksdb icon indicating copy to clipboard operation
rocksdb copied to clipboard

Update compression libraries to latest releases

Open alanpaxton opened this issue 7 months ago • 2 comments

See Makefile for actual changes:

  • ZLIB remains the same
  • BZIP2 remains the same
  • SNAPPY is a minor update
  • LZ4 is a significant update with multithreaded/multicore compression https://github.com/lz4/lz4/releases/tag/v1.10.0
  • ZSTD is a significant update RocksDB is called out as benefiting in particular from the performance improvements herein https://github.com/facebook/zstd/releases/tag/v1.5.7

alanpaxton avatar May 14 '25 11:05 alanpaxton

CI seems to indicate broken new download links

pdillinger avatar May 16 '25 20:05 pdillinger

Thanks @pdillinger I've asked @adamretter to update the S3 as I don't have those permissions

alanpaxton avatar May 16 '25 20:05 alanpaxton

@pdillinger @mszeszko-meta this one is now good to go go to both main and 10.4.fb branches I think.

adamretter avatar Jun 27 '25 01:06 adamretter

@adamretter it looks like RocksDB native library cannot be found or loaded (build-linux-java). I think we should fix it before merging this change.

mszeszko-meta avatar Jul 01 '25 17:07 mszeszko-meta

@adamretter, separately, there are well over 100 warnings about deprecated features, syntax, enums in build-linux-java here. I think we might be reaching a good critical mass to tackle this in a followup PR. What do you think?

mszeszko-meta avatar Jul 01 '25 17:07 mszeszko-meta

it looks like RocksDB native library cannot be found or loaded (build-linux-java). I think we should fix it before merging this change.

@mszeszko-meta That's strange, all was passing before. I have restarted the failed jobs.

separately, there are well over 100 warnings about deprecated features, syntax, enums in build-linux-java here. I think we might be reaching a good critical mass to tackle this in a followup PR. What do you think?

These come about because we have test cases for the deprecated functions. What do you suggest? How long should deprecated functions stay around for before we remove them?

adamretter avatar Jul 01 '25 21:07 adamretter

it looks like RocksDB native library cannot be found or loaded (build-linux-java). I think we should fix it before merging this change.

@mszeszko-meta That's strange, all was passing before. I have restarted the failed jobs.

separately, there are well over 100 warnings about deprecated features, syntax, enums in build-linux-java here. I think we might be reaching a good critical mass to tackle this in a followup PR. What do you think?

These come about because we have test cases for the deprecated functions. What do you suggest? How long should deprecated functions stay around for before we remove them?

@adamretter, looks like java build is still failing. Let's get that resolved first. I'll get back to you on the deprecation topic afterwards.

mszeszko-meta avatar Jul 03 '25 22:07 mszeszko-meta

@mszeszko-meta Just to update you, that we have been investigating this. It is very mysterious, as nothing we can see in this PR should have caused the issue that is suddenly showing in CI. Also it is strange that it is passing on macOS, but not Linux. We are continuing to investigate...

adamretter avatar Jul 04 '25 14:07 adamretter

@mszeszko-meta Some good news finally... we have managed to reproduce the issue locally and are investigating a fix.

adamretter avatar Jul 05 '25 10:07 adamretter

@mszeszko-meta This should be all good to go now I hope...

adamretter avatar Jul 06 '25 17:07 adamretter

@mszeszko-meta has imported this pull request. If you are a Meta employee, you can view this in D77877295.

facebook-github-bot avatar Jul 07 '25 17:07 facebook-github-bot

@adamretter , is this commit a blocker for 10.4 release? In other words, does it require back porting?

mszeszko-meta avatar Jul 07 '25 18:07 mszeszko-meta

@mszeszko-meta merged this pull request in facebook/rocksdb@805ac7c887bbebd7e6124bbc7e8d0803aeed8f07.

facebook-github-bot avatar Jul 07 '25 20:07 facebook-github-bot

@mszeszko-meta yes it needs backporting to 10.4 please

adamretter avatar Jul 08 '25 16:07 adamretter