Skip to content

Commit fd6d253

Browse files
committed
workload: refactor kv key generator
Refactor the KV workload's key generator interface to reduce the interface surface area. The keyGenerator is now a struct, rather than an interface, and a more constrained keyMapper interface encapsulates the logic necessary for mapping the sequential index to the appropriate key. Key generator configuration is held in a keyGeneratorConfig struct, while state that requires mutual exclusion is held in a keyGeneratorState struct. Epic: none Release note: none
1 parent 2165047 commit fd6d253

File tree

2 files changed

+98
-147
lines changed

2 files changed

+98
-147
lines changed

0 commit comments

Comments
 (0)