Skip to content

Enabling DUAL_ASYNC_ON_SECONDARY results in write timeouts #156

@dna-tsc

Description

@dna-tsc

We are currently experiencing issues using ZDM and we are not sure what might be the cause.

We use ZDM to replicate data between clusters.
When we use the setting read_mode: DUAL_ASYNC_ON_SECONDARY we start to observe the following error message:
Async Request failed with error code ErrorCode WriteTimeout [0x00001100]. Error message: Operation timed out - received only 1 responses.

The error message is found in the ZDM log files and there are no corresponding related messages found on the actual Cassandra nodes' log files.

We are currently having 3 nodes in the cluster and the replication factor is set to 3.
We are testing this in our pre-production environment, so the traffic is low and there are no big hits.

When we use read_mode: PRIMARY_ONLY the above error message stops being generated.

I am confused of why would the read async option cause write timeouts error messages.

I would appreciate if you can give us some guidance what can be root the cause of these write timeouts or some ideas about what and where to look for.

If you need any more information, please let me know and I would try to provide what I can.

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