Skip to content
This repository was archived by the owner on Jul 1, 2026. It is now read-only.
This repository was archived by the owner on Jul 1, 2026. It is now read-only.

--wait not working correctly #33

Description

@jmaixl

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting

The documentation and assumed correct functionality of --wait is:

setting --wait to false will cause the proxy to not wait for a result from both servers but return once it gets a result from the source sever

However, in

ProxyClient client1 = new ProxyClient(commandLine.getOptionValue("source-identifier"), socket, protocolVersions, commandLine.getOptionValues("cql-version"), commandLine.getOptionValues("compression"), commandLine.getOptionValue("compression-enabled"),commandLine.getOptionValue("metrics"), commandLine.getOptionValue("wait"), null);

--wait is passed to the source ProxyClient, while the target ProxyClient gets the default value of true. In general the wait flag does not do what it's supposed to do (i.e. hangs).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions