[jira] [Commented] (TINKERPOP-3063) Concurrent queries will break authentication on .NET driver
[ https://issues.apache.org/jira/browse/TINKERPOP-3063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17835174#comment-17835174 ] Florian Hockmann commented on TINKERPOP-3063: - Yes, sure. I think this is a duplicate of TINKERPOP-3061 so I'll close it as such. No need to also fix this for 3.6 in my opinion, especially not just for .NET where most users just use the latest release any way. > Concurrent queries will break authentication on .NET driver > --- > > Key: TINKERPOP-3063 > URL: https://issues.apache.org/jira/browse/TINKERPOP-3063 > Project: TinkerPop > Issue Type: Bug > Components: dotnet >Affects Versions: 3.6.6, 3.7.1 >Reporter: Florian Hockmann >Assignee: Florian Hockmann >Priority: Major > > Executing multiple queries in parallel can lead to authentication failures if > {{MaxInProcessPerConnection}} is set to a value higher than {{1}} as the > second request can then be send to the server while the server is still > waiting for the authentication challenge response from the driver for the > first query. > A simple workaround is to set {{MaxInProcessPerConnection=1}} but this means > of course that connection pooling will be less efficient. > This issue also exists for other drivers: > * Java: TINKERPOP-2132 > * JS: TINKERPOP-3061 > (I don't know about the Python and Go drivers.) -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (TINKERPOP-3063) Concurrent queries will break authentication on .NET driver
[ https://issues.apache.org/jira/browse/TINKERPOP-3063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Florian Hockmann closed TINKERPOP-3063. --- Resolution: Duplicate > Concurrent queries will break authentication on .NET driver > --- > > Key: TINKERPOP-3063 > URL: https://issues.apache.org/jira/browse/TINKERPOP-3063 > Project: TinkerPop > Issue Type: Bug > Components: dotnet >Affects Versions: 3.6.6, 3.7.1 >Reporter: Florian Hockmann >Assignee: Florian Hockmann >Priority: Major > > Executing multiple queries in parallel can lead to authentication failures if > {{MaxInProcessPerConnection}} is set to a value higher than {{1}} as the > second request can then be send to the server while the server is still > waiting for the authentication challenge response from the driver for the > first query. > A simple workaround is to set {{MaxInProcessPerConnection=1}} but this means > of course that connection pooling will be less efficient. > This issue also exists for other drivers: > * Java: TINKERPOP-2132 > * JS: TINKERPOP-3061 > (I don't know about the Python and Go drivers.) -- This message was sent by Atlassian Jira (v8.20.10#820010)
Re: [DISCUSS] Draft ASF Board Report - April 2024
Ah it must've been autocorrected to add the space, we'll make sure it's written correctly for the report. Thanks Florian! On Mon, Apr 8, 2024 at 12:09 AM Florian Hockmann wrote: > Great report, thanks for putting this together! > > I have nothing to add, just one little thing: "JanusGraph" is written as a > single word (not "Janus Graph"). > > > -Ursprüngliche Nachricht- > Von: Yang Xia > Gesendet: Sonntag, 7. April 2024 03:25 > An: dev@tinkerpop.apache.org > Betreff: [DISCUSS] Draft ASF Board Report - April 2024 > > Hi all, > > As we have our quarterly report due Apr 10, here is the draft report for > review. Please let me know if there is anything to add or update. Thanks! > > > > ## Description: > Apache TinkerPop is a graph computing framework for both graph databases > (OLTP) and graph analytic systems (OLAP). > > ## Issues: > There are no issues requiring board attention. > > ## Project Status: > The project is ongoing with relatively high activities this past quarter. > > ## Membership Data: > Community changes, past quarter: > - No new PMC members. Last addition was Yang Xia on 2023-03-15. > - No new committer. Last addition was Cole Greer on 2023-05-30 > > ## Project Activity: > We are currently in the final stages of preparing the 3.6.7 and 3.7.2 > maintenance releases, which we expect to reach the final voting stage in > the week of Apr 8. > > This minor set of releases focuses on resolving existing bugs and > improvements reported through JIRA. Some notable changes were performance > improvements that led to 35-60 times faster query compilation for complex > queries that involved many child traversals. We are also happy to add ARM64 > support to the Gremlin Console Docker image with this release, as > previously only the Gremlin Server image contained multi-arch support [1]. > > The community is in discussion for developing new features as part of the > next major release of TinkerPop 4.0. One major body of work proposed is > replacing the existing WebSocket protocol with HTTP/1.1 [2]. Additionally, > discussions have started for improved serialization types [3] and providing > reference implementation for request interceptors [4] as an extension to > the HTTP/1.1 work. > > ## Community Health: > Overall, the community is in good health. We have received high quality > community contributions this part quarter. One notable contribution is the > integration of TypeScript into our JavaScript driver [6]. With this we’ve > now officially opened TypeScript support in TinkerPop 4.0, which is > something the community has been raising in the past year. > > We hosted another live event on Twitch [7], where we invited developers > from Janus Graph to chat about their recent GA release. All the recordings > are available on our YouTube channel [8]: > > * TinkerPop Wide: Q&A with Janus Graph [9] >Presenter: Bo, Alex Porunov > > The community has also learned about the GraphAR project [10], which is a > data file format designed for efficient graph data storage and retrieval > that recently entered Apache incubation, as it would be interesting to > connect with their community about the project and see how it might benefit > TinkerPop and our users. > > ## Links > [1]: https://issues.apache.org/jira/browse/TINKERPOP-3021 > [2]: https://lists.apache.org/thread/vfs1j9ycb8voxwc00gdzfmlg2gghx3n1 > [3]: https://lists.apache.org/thread/0546dhhsy4bksc8o05kvpstffcd7nlrd > [4]: https://lists.apache.org/thread/cpsdd7gjmr1yb6c5kkm6v2bcfpp6fqq5 > [5]: https://lists.apache.org/thread/lhfnm1d1zrzxvxwcddh7v76gwhg9o5fb > [6]: https://github.com/apache/tinkerpop/pull/2515 > [7]: https://www.twitch.tv/apachetinkerpop > [8]: https://www.youtube.com/@apachetinkerpop > [9]: https://www.youtube.com/watch?v=TJmmkJFyJoI > [10]: > https://cwiki.apache.org/confluence/display/INCUBATOR/GraphArProposal > > > > > Yang > >
[jira] [Closed] (TINKERPOP-2132) Authentication when using multiple threads fails
[ https://issues.apache.org/jira/browse/TINKERPOP-2132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yang Xia closed TINKERPOP-2132. --- Fix Version/s: 3.7.2 Resolution: Fixed > Authentication when using multiple threads fails > > > Key: TINKERPOP-2132 > URL: https://issues.apache.org/jira/browse/TINKERPOP-2132 > Project: TinkerPop > Issue Type: Bug > Components: driver >Affects Versions: 3.3.2 >Reporter: kaiyangzhang >Priority: Major > Fix For: 3.7.2 > > > *Scenes:* > 1. Gremlin Server Kerberos Authentication > 2. Multithreading using the same client > > {code:java} > DriverRemoteConnection connection = > DriverRemoteConnection.using(cluster,"graphbase"); > GraphTraversalSource g = graph.traversal().withRemote(connection); > Thread demo1 = new Thread(new ThreadDemo1(g)); > Thread demo2 = new Thread(new ThreadDemo1(g)); > Thread demo3 = new Thread(new ThreadDemo1(g)); > Thread demo4 = new Thread(new ThreadDemo1(g)); > Thread demo5 = new Thread(new ThreadDemo1(g)); > Thread demo6 = new Thread(new ThreadDemo1(g)); > Thread demo7 = new Thread(new ThreadDemo1(g)); > Thread demo8 = new Thread(new ThreadDemo1(g)); > Thread demo9 = new Thread(new ThreadDemo1(g)); > Thread demo10 = new Thread(new ThreadDemo1(g)); > {code} > > *ERROR INFO* > {code:java} > Exception in thread "Thread-4" java.util.concurrent.CompletionException: > org.apache.tinkerpop.gremlin.driver.exception.ResponseException: Failed to > authenticate > at > java.util.concurrent.CompletableFuture.reportJoin(CompletableFuture.java:375) > at java.util.concurrent.CompletableFuture.join(CompletableFuture.java:1934) > at org.apache.tinkerpop.gremlin.driver.ResultSet.one(ResultSet.java:107) > at > org.apache.tinkerpop.gremlin.driver.ResultSet$1.hasNext(ResultSet.java:159) > at org.apache.tinkerpop.gremlin.driver.ResultSet$1.next(ResultSet.java:166) > at org.apache.tinkerpop.gremlin.driver.ResultSet$1.next(ResultSet.java:153) > at > org.apache.tinkerpop.gremlin.driver.remote.DriverRemoteTraversal$TraverserIterator.next(DriverRemoteTraversal.java:142) > at > org.apache.tinkerpop.gremlin.driver.remote.DriverRemoteTraversal$TraverserIterator.next(DriverRemoteTraversal.java:127) > at > org.apache.tinkerpop.gremlin.driver.remote.DriverRemoteTraversal.nextTraverser(DriverRemoteTraversal.java:108) > at > org.apache.tinkerpop.gremlin.process.remote.traversal.step.map.RemoteStep.processNextStart(RemoteStep.java:80) > at > org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep.hasNext(AbstractStep.java:143) > at > org.apache.tinkerpop.gremlin.process.traversal.util.DefaultTraversal.hasNext(DefaultTraversal.java:192) > at com.huawei.graphbase.gremlin.ThreadDemo1.println(ThreadDemo1.java:48) > at com.huawei.graphbase.gremlin.ThreadDemo1.run(ThreadDemo1.java:32) > at java.lang.Thread.run(Thread.java:748) > Caused by: org.apache.tinkerpop.gremlin.driver.exception.ResponseException: > Failed to authenticate > at > org.apache.tinkerpop.gremlin.driver.Handler$GremlinResponseHandler.channelRead0(Handler.java:246) > at > org.apache.tinkerpop.gremlin.driver.Handler$GremlinResponseHandler.channelRead0(Handler.java:197) > at > io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) > at > io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:373) > at > io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359) > at > io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:351) > at > org.apache.tinkerpop.gremlin.driver.Handler$GremlinSaslAuthenticationHandler.channelRead0(Handler.java:123) > at > org.apache.tinkerpop.gremlin.driver.Handler$GremlinSaslAuthenticationHandler.channelRead0(Handler.java:67) > at > io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) > at > io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:373) > at > io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359) > at > io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:351) > at > io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) > at > io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:373) > at > io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359) > at > io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(Abstra
[jira] [Commented] (TINKERPOP-2132) Authentication when using multiple threads fails
[ https://issues.apache.org/jira/browse/TINKERPOP-2132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17835105#comment-17835105 ] Yang Xia commented on TINKERPOP-2132: - Closing this issue as it should be addressed by server-side changes merged in [https://github.com/apache/tinkerpop/pull/2551]. > Authentication when using multiple threads fails > > > Key: TINKERPOP-2132 > URL: https://issues.apache.org/jira/browse/TINKERPOP-2132 > Project: TinkerPop > Issue Type: Bug > Components: driver >Affects Versions: 3.3.2 >Reporter: kaiyangzhang >Priority: Major > > *Scenes:* > 1. Gremlin Server Kerberos Authentication > 2. Multithreading using the same client > > {code:java} > DriverRemoteConnection connection = > DriverRemoteConnection.using(cluster,"graphbase"); > GraphTraversalSource g = graph.traversal().withRemote(connection); > Thread demo1 = new Thread(new ThreadDemo1(g)); > Thread demo2 = new Thread(new ThreadDemo1(g)); > Thread demo3 = new Thread(new ThreadDemo1(g)); > Thread demo4 = new Thread(new ThreadDemo1(g)); > Thread demo5 = new Thread(new ThreadDemo1(g)); > Thread demo6 = new Thread(new ThreadDemo1(g)); > Thread demo7 = new Thread(new ThreadDemo1(g)); > Thread demo8 = new Thread(new ThreadDemo1(g)); > Thread demo9 = new Thread(new ThreadDemo1(g)); > Thread demo10 = new Thread(new ThreadDemo1(g)); > {code} > > *ERROR INFO* > {code:java} > Exception in thread "Thread-4" java.util.concurrent.CompletionException: > org.apache.tinkerpop.gremlin.driver.exception.ResponseException: Failed to > authenticate > at > java.util.concurrent.CompletableFuture.reportJoin(CompletableFuture.java:375) > at java.util.concurrent.CompletableFuture.join(CompletableFuture.java:1934) > at org.apache.tinkerpop.gremlin.driver.ResultSet.one(ResultSet.java:107) > at > org.apache.tinkerpop.gremlin.driver.ResultSet$1.hasNext(ResultSet.java:159) > at org.apache.tinkerpop.gremlin.driver.ResultSet$1.next(ResultSet.java:166) > at org.apache.tinkerpop.gremlin.driver.ResultSet$1.next(ResultSet.java:153) > at > org.apache.tinkerpop.gremlin.driver.remote.DriverRemoteTraversal$TraverserIterator.next(DriverRemoteTraversal.java:142) > at > org.apache.tinkerpop.gremlin.driver.remote.DriverRemoteTraversal$TraverserIterator.next(DriverRemoteTraversal.java:127) > at > org.apache.tinkerpop.gremlin.driver.remote.DriverRemoteTraversal.nextTraverser(DriverRemoteTraversal.java:108) > at > org.apache.tinkerpop.gremlin.process.remote.traversal.step.map.RemoteStep.processNextStart(RemoteStep.java:80) > at > org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep.hasNext(AbstractStep.java:143) > at > org.apache.tinkerpop.gremlin.process.traversal.util.DefaultTraversal.hasNext(DefaultTraversal.java:192) > at com.huawei.graphbase.gremlin.ThreadDemo1.println(ThreadDemo1.java:48) > at com.huawei.graphbase.gremlin.ThreadDemo1.run(ThreadDemo1.java:32) > at java.lang.Thread.run(Thread.java:748) > Caused by: org.apache.tinkerpop.gremlin.driver.exception.ResponseException: > Failed to authenticate > at > org.apache.tinkerpop.gremlin.driver.Handler$GremlinResponseHandler.channelRead0(Handler.java:246) > at > org.apache.tinkerpop.gremlin.driver.Handler$GremlinResponseHandler.channelRead0(Handler.java:197) > at > io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) > at > io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:373) > at > io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359) > at > io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:351) > at > org.apache.tinkerpop.gremlin.driver.Handler$GremlinSaslAuthenticationHandler.channelRead0(Handler.java:123) > at > org.apache.tinkerpop.gremlin.driver.Handler$GremlinSaslAuthenticationHandler.channelRead0(Handler.java:67) > at > io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) > at > io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:373) > at > io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359) > at > io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:351) > at > io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) > at > io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:373) > at > io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractCha
[jira] [Commented] (TINKERPOP-3063) Concurrent queries will break authentication on .NET driver
[ https://issues.apache.org/jira/browse/TINKERPOP-3063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17835104#comment-17835104 ] Yang Xia commented on TINKERPOP-3063: - Server side changes are merged to 3.7 in [https://github.com/apache/tinkerpop/pull/2551]. Can we close this issue with those changes [~Florian Hockmann]? I see you originally targeted 3.6 with your .NET PR. > Concurrent queries will break authentication on .NET driver > --- > > Key: TINKERPOP-3063 > URL: https://issues.apache.org/jira/browse/TINKERPOP-3063 > Project: TinkerPop > Issue Type: Bug > Components: dotnet >Affects Versions: 3.6.6, 3.7.1 >Reporter: Florian Hockmann >Assignee: Florian Hockmann >Priority: Major > > Executing multiple queries in parallel can lead to authentication failures if > {{MaxInProcessPerConnection}} is set to a value higher than {{1}} as the > second request can then be send to the server while the server is still > waiting for the authentication challenge response from the driver for the > first query. > A simple workaround is to set {{MaxInProcessPerConnection=1}} but this means > of course that connection pooling will be less efficient. > This issue also exists for other drivers: > * Java: TINKERPOP-2132 > * JS: TINKERPOP-3061 > (I don't know about the Python and Go drivers.) -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (TINKERPOP-3061) Concurrent queries will break authentication on javascript driver
[ https://issues.apache.org/jira/browse/TINKERPOP-3061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17835102#comment-17835102 ] ASF GitHub Bot commented on TINKERPOP-3061: --- tien commented on PR #2525: URL: https://github.com/apache/tinkerpop/pull/2525#issuecomment-2044019322 @xiazcy nah I just got back today, thanks for making this available in the next release 💪 > Concurrent queries will break authentication on javascript driver > - > > Key: TINKERPOP-3061 > URL: https://issues.apache.org/jira/browse/TINKERPOP-3061 > Project: TinkerPop > Issue Type: Bug > Components: javascript, server >Affects Versions: 3.6.6, 3.7.1 >Reporter: Yang Xia >Assignee: Yang Xia >Priority: Major > Fix For: 3.7.2 > > > Reported by tien on Discord: > {code:java} > import gremlin from "gremlin"; > const g = gremlin.process.AnonymousTraversalSource.traversal().withRemote( > new gremlin.driver.DriverRemoteConnection("ws://localhost:8182/gremlin", { > authenticator: new gremlin.driver.auth.PlainTextSaslAuthenticator( > "admin", > "administrator" > ), > }) > ); > // This will throws: Failed to authenticate (401) > await Promise.all([g.V().toList(), g.V().toList()]); > // This works as expected > await g.V().toList(); > await g.V().toList(); {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (TINKERPOP-3061) Concurrent queries will break authentication on javascript driver
[ https://issues.apache.org/jira/browse/TINKERPOP-3061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yang Xia updated TINKERPOP-3061: Fix Version/s: 3.7.2 > Concurrent queries will break authentication on javascript driver > - > > Key: TINKERPOP-3061 > URL: https://issues.apache.org/jira/browse/TINKERPOP-3061 > Project: TinkerPop > Issue Type: Bug > Components: javascript, server >Affects Versions: 3.6.6, 3.7.1 >Reporter: Yang Xia >Assignee: Yang Xia >Priority: Major > Fix For: 3.7.2 > > > Reported by tien on Discord: > {code:java} > import gremlin from "gremlin"; > const g = gremlin.process.AnonymousTraversalSource.traversal().withRemote( > new gremlin.driver.DriverRemoteConnection("ws://localhost:8182/gremlin", { > authenticator: new gremlin.driver.auth.PlainTextSaslAuthenticator( > "admin", > "administrator" > ), > }) > ); > // This will throws: Failed to authenticate (401) > await Promise.all([g.V().toList(), g.V().toList()]); > // This works as expected > await g.V().toList(); > await g.V().toList(); {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (TINKERPOP-3061) Concurrent queries will break authentication on javascript driver
[ https://issues.apache.org/jira/browse/TINKERPOP-3061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17835101#comment-17835101 ] Yang Xia commented on TINKERPOP-3061: - Changes have been merged through https://github.com/apache/tinkerpop/pull/2551 > Concurrent queries will break authentication on javascript driver > - > > Key: TINKERPOP-3061 > URL: https://issues.apache.org/jira/browse/TINKERPOP-3061 > Project: TinkerPop > Issue Type: Bug > Components: javascript >Affects Versions: 3.6.6, 3.7.1 >Reporter: Yang Xia >Assignee: Yang Xia >Priority: Major > > Reported by tien on Discord: > {code:java} > import gremlin from "gremlin"; > const g = gremlin.process.AnonymousTraversalSource.traversal().withRemote( > new gremlin.driver.DriverRemoteConnection("ws://localhost:8182/gremlin", { > authenticator: new gremlin.driver.auth.PlainTextSaslAuthenticator( > "admin", > "administrator" > ), > }) > ); > // This will throws: Failed to authenticate (401) > await Promise.all([g.V().toList(), g.V().toList()]); > // This works as expected > await g.V().toList(); > await g.V().toList(); {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (TINKERPOP-3061) Concurrent queries will break authentication on javascript driver
[ https://issues.apache.org/jira/browse/TINKERPOP-3061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yang Xia updated TINKERPOP-3061: Component/s: server > Concurrent queries will break authentication on javascript driver > - > > Key: TINKERPOP-3061 > URL: https://issues.apache.org/jira/browse/TINKERPOP-3061 > Project: TinkerPop > Issue Type: Bug > Components: javascript, server >Affects Versions: 3.6.6, 3.7.1 >Reporter: Yang Xia >Assignee: Yang Xia >Priority: Major > > Reported by tien on Discord: > {code:java} > import gremlin from "gremlin"; > const g = gremlin.process.AnonymousTraversalSource.traversal().withRemote( > new gremlin.driver.DriverRemoteConnection("ws://localhost:8182/gremlin", { > authenticator: new gremlin.driver.auth.PlainTextSaslAuthenticator( > "admin", > "administrator" > ), > }) > ); > // This will throws: Failed to authenticate (401) > await Promise.all([g.V().toList(), g.V().toList()]); > // This works as expected > await g.V().toList(); > await g.V().toList(); {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (TINKERPOP-3061) Concurrent queries will break authentication on javascript driver
[ https://issues.apache.org/jira/browse/TINKERPOP-3061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yang Xia closed TINKERPOP-3061. --- Resolution: Fixed > Concurrent queries will break authentication on javascript driver > - > > Key: TINKERPOP-3061 > URL: https://issues.apache.org/jira/browse/TINKERPOP-3061 > Project: TinkerPop > Issue Type: Bug > Components: javascript, server >Affects Versions: 3.6.6, 3.7.1 >Reporter: Yang Xia >Assignee: Yang Xia >Priority: Major > Fix For: 3.7.2 > > > Reported by tien on Discord: > {code:java} > import gremlin from "gremlin"; > const g = gremlin.process.AnonymousTraversalSource.traversal().withRemote( > new gremlin.driver.DriverRemoteConnection("ws://localhost:8182/gremlin", { > authenticator: new gremlin.driver.auth.PlainTextSaslAuthenticator( > "admin", > "administrator" > ), > }) > ); > // This will throws: Failed to authenticate (401) > await Promise.all([g.V().toList(), g.V().toList()]); > // This works as expected > await g.V().toList(); > await g.V().toList(); {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Assigned] (TINKERPOP-3061) Concurrent queries will break authentication on javascript driver
[ https://issues.apache.org/jira/browse/TINKERPOP-3061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yang Xia reassigned TINKERPOP-3061: --- Assignee: Yang Xia > Concurrent queries will break authentication on javascript driver > - > > Key: TINKERPOP-3061 > URL: https://issues.apache.org/jira/browse/TINKERPOP-3061 > Project: TinkerPop > Issue Type: Bug > Components: javascript >Affects Versions: 3.6.6, 3.7.1 >Reporter: Yang Xia >Assignee: Yang Xia >Priority: Major > > Reported by tien on Discord: > {code:java} > import gremlin from "gremlin"; > const g = gremlin.process.AnonymousTraversalSource.traversal().withRemote( > new gremlin.driver.DriverRemoteConnection("ws://localhost:8182/gremlin", { > authenticator: new gremlin.driver.auth.PlainTextSaslAuthenticator( > "admin", > "administrator" > ), > }) > ); > // This will throws: Failed to authenticate (401) > await Promise.all([g.V().toList(), g.V().toList()]); > // This works as expected > await g.V().toList(); > await g.V().toList(); {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (TINKERPOP-3061) Concurrent queries will break authentication on javascript driver
[ https://issues.apache.org/jira/browse/TINKERPOP-3061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17835100#comment-17835100 ] ASF GitHub Bot commented on TINKERPOP-3061: --- xiazcy commented on PR #2525: URL: https://github.com/apache/tinkerpop/pull/2525#issuecomment-2044008086 Closing this PR as all changes are merged via 22db8cf for the release. Please feel free to re-open if you find additional improvements and/or updates needed. Thanks! > Concurrent queries will break authentication on javascript driver > - > > Key: TINKERPOP-3061 > URL: https://issues.apache.org/jira/browse/TINKERPOP-3061 > Project: TinkerPop > Issue Type: Bug > Components: javascript >Affects Versions: 3.6.6, 3.7.1 >Reporter: Yang Xia >Priority: Major > > Reported by tien on Discord: > {code:java} > import gremlin from "gremlin"; > const g = gremlin.process.AnonymousTraversalSource.traversal().withRemote( > new gremlin.driver.DriverRemoteConnection("ws://localhost:8182/gremlin", { > authenticator: new gremlin.driver.auth.PlainTextSaslAuthenticator( > "admin", > "administrator" > ), > }) > ); > // This will throws: Failed to authenticate (401) > await Promise.all([g.V().toList(), g.V().toList()]); > // This works as expected > await g.V().toList(); > await g.V().toList(); {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (TINKERPOP-3061) Concurrent queries will break authentication on javascript driver
[ https://issues.apache.org/jira/browse/TINKERPOP-3061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17835099#comment-17835099 ] ASF GitHub Bot commented on TINKERPOP-3061: --- xiazcy closed pull request #2525: [TINKERPOP-3061] fix: failing authentication when multiple initially requests are executed concurrently URL: https://github.com/apache/tinkerpop/pull/2525 > Concurrent queries will break authentication on javascript driver > - > > Key: TINKERPOP-3061 > URL: https://issues.apache.org/jira/browse/TINKERPOP-3061 > Project: TinkerPop > Issue Type: Bug > Components: javascript >Affects Versions: 3.6.6, 3.7.1 >Reporter: Yang Xia >Priority: Major > > Reported by tien on Discord: > {code:java} > import gremlin from "gremlin"; > const g = gremlin.process.AnonymousTraversalSource.traversal().withRemote( > new gremlin.driver.DriverRemoteConnection("ws://localhost:8182/gremlin", { > authenticator: new gremlin.driver.auth.PlainTextSaslAuthenticator( > "admin", > "administrator" > ), > }) > ); > // This will throws: Failed to authenticate (401) > await Promise.all([g.V().toList(), g.V().toList()]); > // This works as expected > await g.V().toList(); > await g.V().toList(); {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (TINKERPOP-3061) Concurrent queries will break authentication on javascript driver
[ https://issues.apache.org/jira/browse/TINKERPOP-3061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17835072#comment-17835072 ] ASF GitHub Bot commented on TINKERPOP-3061: --- xiazcy commented on PR #2525: URL: https://github.com/apache/tinkerpop/pull/2525#issuecomment-2043756862 > Sorry, I'm away this week and don't have access to my work laptop. Will take a look at all the pending comments & resolve them next week 🙏 No worries, thank you for all the contributions! Just a quick note. Not sure if you have gotten a chance to start looking at the comments, as we'd like to release this with 3.7.2 this week, we will likely be cherry-picking your changes into another PR for the release branch today. If we do proceed with that we'll be closing this PR, and you shouldn't need to do any further work. Now there might still be functionality improvements we miss, so please feel free to add additional changes once the branches re-open. > Concurrent queries will break authentication on javascript driver > - > > Key: TINKERPOP-3061 > URL: https://issues.apache.org/jira/browse/TINKERPOP-3061 > Project: TinkerPop > Issue Type: Bug > Components: javascript >Affects Versions: 3.6.6, 3.7.1 >Reporter: Yang Xia >Priority: Major > > Reported by tien on Discord: > {code:java} > import gremlin from "gremlin"; > const g = gremlin.process.AnonymousTraversalSource.traversal().withRemote( > new gremlin.driver.DriverRemoteConnection("ws://localhost:8182/gremlin", { > authenticator: new gremlin.driver.auth.PlainTextSaslAuthenticator( > "admin", > "administrator" > ), > }) > ); > // This will throws: Failed to authenticate (401) > await Promise.all([g.V().toList(), g.V().toList()]); > // This works as expected > await g.V().toList(); > await g.V().toList(); {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[VOTE] TinkerPop 3.6.7 Release
Hello, We are happy to announce that TinkerPop 3.6.7 is ready for release. The release artifacts can be found at this location: https://dist.apache.org/repos/dist/dev/tinkerpop/3.6.7/ The source distribution is provided by: apache-tinkerpop-3.6.7-src.zip Two binary distributions are provided for user convenience: apache-tinkerpop-gremlin-console-3.6.7-bin.zip apache-tinkerpop-gremlin-server-3.6.7-bin.zip The GPG key used to sign the release artifacts is available at: https://dist.apache.org/repos/dist/dev/tinkerpop/KEYS The online docs can be found here: https://tinkerpop.apache.org/docs/3.6.7/ (user docs) https://tinkerpop.apache.org/docs/3.6.7/upgrade/ (upgrade docs) https://tinkerpop.apache.org/javadocs/3.6.7/core/ (core javadoc) https://tinkerpop.apache.org/javadocs/3.6.7/full/ (full javadoc) https://tinkerpop.apache.org/dotnetdocs/3.6.7/ (.NET API docs) https://tinkerpop.apache.org/jsdocs/3.6.7/ (Javascript API docs) The Git tag can be found here: https://github.com/apache/tinkerpop/tree/3.6.7 The release notes are available here: https://github.com/apache/tinkerpop/blob/3.6.7/CHANGELOG.asciidoc The [VOTE] will be open for the next 72 hours --- closing Thursday (April 11, 2024) at 2:45pm PST (UTC−08:00). My vote is +1. Thank you very much, Yang *--* *Yang Xia*
[jira] [Commented] (TINKERPOP-3060) Dependency inconsistency between modules.
[ https://issues.apache.org/jira/browse/TINKERPOP-3060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17835014#comment-17835014 ] ASF GitHub Bot commented on TINKERPOP-3060: --- xiazcy commented on PR #2546: URL: https://github.com/apache/tinkerpop/pull/2546#issuecomment-2043393487 Thanks for the PR @HappyHacker123! I like the improvement for the dependency version management. I do want to take a closer look into other pom files that might be able to take advantage of this. Note that we are in the middle of a release so we'll hold off on any merging and I'll revisit once this PR the release is done. > Dependency inconsistency between modules. > - > > Key: TINKERPOP-3060 > URL: https://issues.apache.org/jira/browse/TINKERPOP-3060 > Project: TinkerPop > Issue Type: Improvement >Reporter: Wei Zhao >Priority: Major > Original Estimate: 1m > Remaining Estimate: 1m > > h3. Problem Desciption > Currently some modules of Tinkerpop are using the same dependency. However, > some of these dependencies' versions are not centrally managed and therefore > cause discrepancy. > I found the following dependencies with different versions in different > modules. > {code:java} > Dependency org.xerial.snappy:snappy-java:jar has inconsistent versions. > Dependency {groupId=org.xerial.snappy, artifactId=snappy-java, > version=1.1.8.4} > /spark-gremlin > Dependency {groupId=org.xerial.snappy, artifactId=snappy-java, > version=1.1.8.2} > /hadoop-gremlin > - > Dependency com.fasterxml.jackson.core:jackson-databind:jar has inconsistent > versions. > Dependency {groupId=com.fasterxml.jackson.core, > artifactId=jackson-databind, version=2.15.2} > /gremlin-shaded > Dependency {groupId=com.fasterxml.jackson.core, > artifactId=jackson-databind, version=2.13.5} > /spark-gremlin > /hadoop-gremlin > - > {code} > h3. Possible Outcome: > This increases the maintenance workload and may lead to dependency conflict > for downstream projects. So it's better to align the versions of the > dependencies if the discrepancy is not intentional. > h3. Possible Solution > Align the versions of the dependencies to ensure consistency and avoid > possible conflicts. And if it's possible, manage the versions of the > dependencies centrally. > > > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (TINKERPOP-3060) Dependency inconsistency between modules.
[ https://issues.apache.org/jira/browse/TINKERPOP-3060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17834901#comment-17834901 ] ASF GitHub Bot commented on TINKERPOP-3060: --- codecov-commenter commented on PR #2546: URL: https://github.com/apache/tinkerpop/pull/2546#issuecomment-2042581374 ## [Codecov](https://app.codecov.io/gh/apache/tinkerpop/pull/2546?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report All modified and coverable lines are covered by tests :white_check_mark: > Project coverage is 76.49%. Comparing base [(`9b46b67`)](https://app.codecov.io/gh/apache/tinkerpop/commit/9b46b6777d2fa250e41daacf2fa4554605aff53a?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) to head [(`8b1e8bd`)](https://app.codecov.io/gh/apache/tinkerpop/pull/2546?dropdown=coverage&src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache). > Report is 54 commits behind head on 3.7-dev. Additional details and impacted files ```diff @@ Coverage Diff @@ ## 3.7-dev#2546 +/- ## = + Coverage 76.14% 76.49% +0.34% - Complexity 1315213174 +22 = Files 1084 1059 -25 Lines 6516061282-3878 Branches7285 7297 +12 = - Hits 4961646876-2740 + Misses 1283911892 -947 + Partials2705 2514 -191 ``` [:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/apache/tinkerpop/pull/2546?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache). :loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache). > Dependency inconsistency between modules. > - > > Key: TINKERPOP-3060 > URL: https://issues.apache.org/jira/browse/TINKERPOP-3060 > Project: TinkerPop > Issue Type: Improvement >Reporter: Wei Zhao >Priority: Major > Original Estimate: 1m > Remaining Estimate: 1m > > h3. Problem Desciption > Currently some modules of Tinkerpop are using the same dependency. However, > some of these dependencies' versions are not centrally managed and therefore > cause discrepancy. > I found the following dependencies with different versions in different > modules. > {code:java} > Dependency org.xerial.snappy:snappy-java:jar has inconsistent versions. > Dependency {groupId=org.xerial.snappy, artifactId=snappy-java, > version=1.1.8.4} > /spark-gremlin > Dependency {groupId=org.xerial.snappy, artifactId=snappy-java, > version=1.1.8.2} > /hadoop-gremlin > - > Dependency com.fasterxml.jackson.core:jackson-databind:jar has inconsistent > versions. > Dependency {groupId=com.fasterxml.jackson.core, > artifactId=jackson-databind, version=2.15.2} > /gremlin-shaded > Dependency {groupId=com.fasterxml.jackson.core, > artifactId=jackson-databind, version=2.13.5} > /spark-gremlin > /hadoop-gremlin > - > {code} > h3. Possible Outcome: > This increases the maintenance workload and may lead to dependency conflict > for downstream projects. So it's better to align the versions of the > dependencies if the discrepancy is not intentional. > h3. Possible Solution > Align the versions of the dependencies to ensure consistency and avoid > possible conflicts. And if it's possible, manage the versions of the > dependencies centrally. > > > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (TINKERPOP-3060) Dependency inconsistency between modules.
[ https://issues.apache.org/jira/browse/TINKERPOP-3060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17834894#comment-17834894 ] ASF GitHub Bot commented on TINKERPOP-3060: --- HappyHacker123 commented on PR #2546: URL: https://github.com/apache/tinkerpop/pull/2546#issuecomment-2042543921 @xiazcy @Cole-Greer Could you please help me review this pr? Many thanks :) > Dependency inconsistency between modules. > - > > Key: TINKERPOP-3060 > URL: https://issues.apache.org/jira/browse/TINKERPOP-3060 > Project: TinkerPop > Issue Type: Improvement >Reporter: Wei Zhao >Priority: Major > Original Estimate: 1m > Remaining Estimate: 1m > > h3. Problem Desciption > Currently some modules of Tinkerpop are using the same dependency. However, > some of these dependencies' versions are not centrally managed and therefore > cause discrepancy. > I found the following dependencies with different versions in different > modules. > {code:java} > Dependency org.xerial.snappy:snappy-java:jar has inconsistent versions. > Dependency {groupId=org.xerial.snappy, artifactId=snappy-java, > version=1.1.8.4} > /spark-gremlin > Dependency {groupId=org.xerial.snappy, artifactId=snappy-java, > version=1.1.8.2} > /hadoop-gremlin > - > Dependency com.fasterxml.jackson.core:jackson-databind:jar has inconsistent > versions. > Dependency {groupId=com.fasterxml.jackson.core, > artifactId=jackson-databind, version=2.15.2} > /gremlin-shaded > Dependency {groupId=com.fasterxml.jackson.core, > artifactId=jackson-databind, version=2.13.5} > /spark-gremlin > /hadoop-gremlin > - > {code} > h3. Possible Outcome: > This increases the maintenance workload and may lead to dependency conflict > for downstream projects. So it's better to align the versions of the > dependencies if the discrepancy is not intentional. > h3. Possible Solution > Align the versions of the dependencies to ensure consistency and avoid > possible conflicts. And if it's possible, manage the versions of the > dependencies centrally. > > > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (TINKERPOP-3060) Dependency inconsistency between modules.
[ https://issues.apache.org/jira/browse/TINKERPOP-3060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17834890#comment-17834890 ] ASF GitHub Bot commented on TINKERPOP-3060: --- HappyHacker123 opened a new pull request, #2546: URL: https://github.com/apache/tinkerpop/pull/2546 Currently some modules of Tinkerpop are using the same dependency. However, some of these dependencies' versions are not centrally managed and therefore cause discrepancy. This pr defines version in parent pom.xml centrally to avoid version conflict. > Dependency inconsistency between modules. > - > > Key: TINKERPOP-3060 > URL: https://issues.apache.org/jira/browse/TINKERPOP-3060 > Project: TinkerPop > Issue Type: Improvement >Reporter: Wei Zhao >Priority: Major > Original Estimate: 1m > Remaining Estimate: 1m > > h3. Problem Desciption > Currently some modules of Tinkerpop are using the same dependency. However, > some of these dependencies' versions are not centrally managed and therefore > cause discrepancy. > I found the following dependencies with different versions in different > modules. > {code:java} > Dependency org.xerial.snappy:snappy-java:jar has inconsistent versions. > Dependency {groupId=org.xerial.snappy, artifactId=snappy-java, > version=1.1.8.4} > /spark-gremlin > Dependency {groupId=org.xerial.snappy, artifactId=snappy-java, > version=1.1.8.2} > /hadoop-gremlin > - > Dependency com.fasterxml.jackson.core:jackson-databind:jar has inconsistent > versions. > Dependency {groupId=com.fasterxml.jackson.core, > artifactId=jackson-databind, version=2.15.2} > /gremlin-shaded > Dependency {groupId=com.fasterxml.jackson.core, > artifactId=jackson-databind, version=2.13.5} > /spark-gremlin > /hadoop-gremlin > - > {code} > h3. Possible Outcome: > This increases the maintenance workload and may lead to dependency conflict > for downstream projects. So it's better to align the versions of the > dependencies if the discrepancy is not intentional. > h3. Possible Solution > Align the versions of the dependencies to ensure consistency and avoid > possible conflicts. And if it's possible, manage the versions of the > dependencies centrally. > > > -- This message was sent by Atlassian Jira (v8.20.10#820010)
AW: [DISCUSS] Draft ASF Board Report - April 2024
Great report, thanks for putting this together! I have nothing to add, just one little thing: "JanusGraph" is written as a single word (not "Janus Graph"). -Ursprüngliche Nachricht- Von: Yang Xia Gesendet: Sonntag, 7. April 2024 03:25 An: dev@tinkerpop.apache.org Betreff: [DISCUSS] Draft ASF Board Report - April 2024 Hi all, As we have our quarterly report due Apr 10, here is the draft report for review. Please let me know if there is anything to add or update. Thanks! ## Description: Apache TinkerPop is a graph computing framework for both graph databases (OLTP) and graph analytic systems (OLAP). ## Issues: There are no issues requiring board attention. ## Project Status: The project is ongoing with relatively high activities this past quarter. ## Membership Data: Community changes, past quarter: - No new PMC members. Last addition was Yang Xia on 2023-03-15. - No new committer. Last addition was Cole Greer on 2023-05-30 ## Project Activity: We are currently in the final stages of preparing the 3.6.7 and 3.7.2 maintenance releases, which we expect to reach the final voting stage in the week of Apr 8. This minor set of releases focuses on resolving existing bugs and improvements reported through JIRA. Some notable changes were performance improvements that led to 35-60 times faster query compilation for complex queries that involved many child traversals. We are also happy to add ARM64 support to the Gremlin Console Docker image with this release, as previously only the Gremlin Server image contained multi-arch support [1]. The community is in discussion for developing new features as part of the next major release of TinkerPop 4.0. One major body of work proposed is replacing the existing WebSocket protocol with HTTP/1.1 [2]. Additionally, discussions have started for improved serialization types [3] and providing reference implementation for request interceptors [4] as an extension to the HTTP/1.1 work. ## Community Health: Overall, the community is in good health. We have received high quality community contributions this part quarter. One notable contribution is the integration of TypeScript into our JavaScript driver [6]. With this we’ve now officially opened TypeScript support in TinkerPop 4.0, which is something the community has been raising in the past year. We hosted another live event on Twitch [7], where we invited developers from Janus Graph to chat about their recent GA release. All the recordings are available on our YouTube channel [8]: * TinkerPop Wide: Q&A with Janus Graph [9] Presenter: Bo, Alex Porunov The community has also learned about the GraphAR project [10], which is a data file format designed for efficient graph data storage and retrieval that recently entered Apache incubation, as it would be interesting to connect with their community about the project and see how it might benefit TinkerPop and our users. ## Links [1]: https://issues.apache.org/jira/browse/TINKERPOP-3021 [2]: https://lists.apache.org/thread/vfs1j9ycb8voxwc00gdzfmlg2gghx3n1 [3]: https://lists.apache.org/thread/0546dhhsy4bksc8o05kvpstffcd7nlrd [4]: https://lists.apache.org/thread/cpsdd7gjmr1yb6c5kkm6v2bcfpp6fqq5 [5]: https://lists.apache.org/thread/lhfnm1d1zrzxvxwcddh7v76gwhg9o5fb [6]: https://github.com/apache/tinkerpop/pull/2515 [7]: https://www.twitch.tv/apachetinkerpop [8]: https://www.youtube.com/@apachetinkerpop [9]: https://www.youtube.com/watch?v=TJmmkJFyJoI [10]: https://cwiki.apache.org/confluence/display/INCUBATOR/GraphArProposal Yang