Skip to content

Make schema agreement example exercise manual waiting #1688

@dkropachev

Description

@dkropachev

The schema-agreement example leaves automatic schema-agreement waiting enabled while also demonstrating a manual wait.

Code permalink:

let session: Session = SessionBuilder::new()

Schema-changing queries already await schema agreement by default, so if the create statement times out the example exits before the manual wait, and if it succeeds the manual wait checks an already-agreed schema. That makes the timeout branch misleading for the behavior the example is trying to show.

Suggested direction: disable automatic schema-agreement waiting for this example, or remove the manual timeout handling.

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions