You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Cole Greer (Jira)" <ji...@apache.org> on 2024/03/25 22:58:00 UTC
[jira] [Closed] (TINKERPOP-3039) Java driver won't propagate with args when using aliased client directly
[ https://issues.apache.org/jira/browse/TINKERPOP-3039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cole Greer closed TINKERPOP-3039.
---------------------------------
Fix Version/s: 3.6.7
3.7.2
Assignee: Cole Greer
Resolution: Fixed
> Java driver won't propagate with args when using aliased client directly
> ------------------------------------------------------------------------
>
> Key: TINKERPOP-3039
> URL: https://issues.apache.org/jira/browse/TINKERPOP-3039
> Project: TinkerPop
> Issue Type: Bug
> Components: driver
> Affects Versions: 3.6.6, 3.7.1
> Reporter: Ken Hu
> Assignee: Cole Greer
> Priority: Critical
> Fix For: 3.6.7, 3.7.2
>
>
> The Java driver is unable to pass on options defined in the query via a .with() configuration step when attempting to submit with the AliasClusteredClient's submit() method.
> Example:
> {code:java}
> Cluster cluster = Cluster.build().create();
> Client client = cluster.connect().alias("ggrateful");
> GraphTraversalSource g = traversal().withRemote(DriverRemoteConnection.using(client, "ggrateful"));
> GraphTraversal traversal = g.with("evaluationTimeout", 1).V().both().both().both();
> try {
> List<Result> results = client.submit(traversal).all().get();
> } catch (Exception e) {
> e.printStackTrace();
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)