Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@filipecosta90
Copy link
Collaborator

This PR adds support for the Zipfian (Z) key access pattern to arbitrary commands in memtier_benchmark.

  • Updates the CLI argument parsing and validation logic to accept Z as a valid key pattern, ensures proper initialization of Zipf-related parameters when used in either global or per-command configurations

  • Introduces test coverage for Zipfian access patterns across various arbitrary commands (SET, GET, HSET, etc.).

@kaplanben
Copy link

kaplanben commented Aug 8, 2025

Logo
Checkmarx One – Scan Summary & Details0e4bdee5-b693-49c9-a169-153d2e92f644

New Issues (5)

Checkmarx found the following issues in this Pull Request

Severity Issue Source File / Package Checkmarx Insight
MEDIUM Divide_By_Zero /deps/hdr_histogram/hdr_histogram.c: 1169
detailsThe application performs an illegal operation in hdr_percentiles_print, in /deps/hdr_histogram/hdr_histogram.c. In line 1169, the program att...
ID: z2R%2BCcGvs8KjP8j2W79nCyO7O9c%3D
Attack Vector
MEDIUM Divide_By_Zero /deps/hdr_histogram/hdr_histogram.c: 1184
detailsThe application performs an illegal operation in hdr_percentiles_print, in /deps/hdr_histogram/hdr_histogram.c. In line 1184, the program att...
ID: Xed9lnTk6uwhYNuXEGx52%2F0bkl8%3D
Attack Vector
MEDIUM Divide_By_Zero /deps/hdr_histogram/hdr_histogram.c: 1185
detailsThe application performs an illegal operation in hdr_percentiles_print, in /deps/hdr_histogram/hdr_histogram.c. In line 1185, the program att...
ID: hUrw8ZO0MwgenXfN8SO91RVNuoM%3D
Attack Vector
MEDIUM Divide_By_Zero /deps/hdr_histogram/hdr_histogram.c: 1186
detailsThe application performs an illegal operation in hdr_percentiles_print, in /deps/hdr_histogram/hdr_histogram.c. In line 1186, the program att...
ID: w%2FT7Et7mcbBjyoLvnFURUWT5%2FPg%3D
Attack Vector
MEDIUM Divide_By_Zero /obj_gen.cpp: 118
detailsThe application performs an illegal operation in gaussian_distribution, in /obj_gen.cpp. In line 118, the program attempts to divide by s, whic...
ID: EwneCul17y0Ey9jh0x4XTNdm6pc%3D
Attack Vector
Fixed Issues (1)

Great job! The following issues were fixed in this Pull Request

Severity Issue Source File / Package
MEDIUM Divide_By_Zero /deps/hdr_histogram/hdr_histogram.c: 1172

paulorsousa
paulorsousa previously approved these changes Aug 8, 2025
@filipecosta90 filipecosta90 merged commit 908ea0b into redis:master Aug 11, 2025
7 checks passed
@filipecosta90 filipecosta90 deleted the zipfian.arbitrary branch August 11, 2025 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants