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

Update dependencies #610

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

oneonestar
Copy link
Member

Description

Update dependencies before release.

Additional context and related issues

MySQL performance problem has been resolved.
trinodb/trino#24809 (comment)

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.

@cla-bot cla-bot bot added the cla-signed label Feb 5, 2025
@oneonestar oneonestar force-pushed the star/updates-2025feb branch from c39cdcd to 4a9f591 Compare February 5, 2025 10:11
@oneonestar
Copy link
Member Author

Not sure are there better way than this

+            <plugin>                                                                                                                                                                                                 
+                <groupId>org.basepom.maven</groupId>                                                                                                                                                                 
+                <artifactId>duplicate-finder-maven-plugin</artifactId>
+                <configuration>                                                                                                                                                                                      
+                    <ignoredResourcePatterns combine.children="append">                                                                                                                                              
+                        <ignoredResourcePattern>aircompressor.*</ignoredResourcePattern>                                                                                                                             
+                    </ignoredResourcePatterns>                                                                                                                                                                       
+                </configuration>                                                                                                                                                                                     
+            </plugin> 

@oneonestar oneonestar force-pushed the star/updates-2025feb branch from 4a9f591 to a85e79a Compare February 5, 2025 12:21
Copy link
Member

@mosabua mosabua left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good but we need to verify the comnpression/airlift upgrade

@@ -23,7 +23,7 @@
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import io.airlift.compress.zstd.ZstdDecompressor;
import io.airlift.compress.v3.zstd.ZstdDecompressor;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will use the native compression implementations .. but I think it has to be packaged into the app somehow. @wendigo and @dain probably know more or you can try and find the Trino PR that upgraded to these and see what has to be done.

It might be that airlift handeles it all but we should confirm

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm.. we should confirm that the native libraries are part of the tarball and docker container

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

➜  trino-gateway git:(star/updates-2025feb) jar tf gateway-ha/target/gateway-ha-14-SNAPSHOT-jar-with-dependencies.jar | grep 'aircompressor' 
aircompressor/
aircompressor/linux-aarch64/
aircompressor/linux-aarch64/libbz2.so
aircompressor/linux-aarch64/liblz4.so
aircompressor/linux-aarch64/libsnappy.so
aircompressor/linux-aarch64/libzstd.so
aircompressor/linux-amd64/
aircompressor/linux-amd64/libbz2.so
aircompressor/linux-amd64/liblz4.so
aircompressor/linux-amd64/libsnappy.so
aircompressor/linux-amd64/libzstd.so
aircompressor/linux-ppc64le/
aircompressor/linux-ppc64le/libbz2.so
aircompressor/linux-ppc64le/liblz4.so
aircompressor/linux-ppc64le/libsnappy.so
aircompressor/linux-ppc64le/libzstd.so
aircompressor/macos-aarch64/
aircompressor/macos-aarch64/libbz2.dylib
aircompressor/macos-aarch64/liblz4.dylib
aircompressor/macos-aarch64/libsnappy.dylib
aircompressor/macos-aarch64/libzstd.dylib
aircompressor/macos-amd64/
aircompressor/macos-amd64/libbz2.dylib
aircompressor/macos-amd64/liblz4.dylib
aircompressor/macos-amd64/libsnappy.dylib
aircompressor/macos-amd64/libzstd.dylib

@oneonestar oneonestar force-pushed the star/updates-2025feb branch from a85e79a to 0dc1767 Compare February 5, 2025 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants