Skip to content

[core] Support record count and opcount exceeding 2^31#1742

Open
torao wants to merge 1 commit into
brianfrankcooper:masterfrom
torao:fix/recordcount_as_int64
Open

[core] Support record count and opcount exceeding 2^31#1742
torao wants to merge 1 commit into
brianfrankcooper:masterfrom
torao:fix/recordcount_as_int64

Conversation

@torao

@torao torao commented Dec 18, 2024

Copy link
Copy Markdown

This pull request changes some integers in the core module from int to long, making YCSB compatible with systems that process large data sets.

We are trying to use YCSB for a large-scale distributed system, but the current source throws a NumberFormatException if recordcount is set to a value greater than 2^31-1. And opcount also a 32-bit integer. We needed to fix this.

#1096 (2018) is a pull request for the same purpose, but cannot be applied to the current version because it has been heavily modified. Therefore I made a new fix.

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.

1 participant