cassandra-dtest icon indicating copy to clipboard operation
cassandra-dtest copied to clipboard

Align tests with CASSANDRA-19335

Open zaaath opened this issue 1 year ago • 0 comments

CASSANDRA-19335, introduced in PR#3069, implements the following changes:

  1. By default, nodetool tablestats now outputs byte sizes with human-readable suffixes (e.g., "bytes", "KiB", "MiB"). This update has caused several dtests to fail, as detailed in this CircleCI report.
  2. A new CLI flag, -r or --no-human-readable, has been added to nodetool tablestats to revert to the non-human-readable byte size output, maintaining compatibility with existing parsing logic.

Backwards Compatibility:

  • Versions of nodetool prior to PR#3069 may not recognize the -r CLI flag, leading to potential test failures.

Further Work:

  • Implement JSON / YAML output options for nodetool tablestats and update dtests to parse these formats.

zaaath avatar May 12 '24 16:05 zaaath