Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-3039

Java driver won't propagate with args when using aliased client directly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 3.6.6, 3.7.1
    • 3.6.7, 3.7.2
    • driver
    • None

    Description

      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:

      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();
      }
      

      Attachments

        Activity

          People

            colegreer Cole Greer
            kenhuuu Ken Hu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: