Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

util/conversion: support IEC prefix like "Ki" #29

Open
wants to merge 2 commits into
base: v22.2.x
Choose a base branch
from

Conversation

tchaikov
Copy link

this is the first prerequisite of a better fix of redpanda-data/redpanda#352 -- to teach Seastar to understand IEC prefixes. and then, we can probably revert redpanda-data/redpanda#602 if rpk always has a strong dependency on the same version of the redpanda daemon executable.

the change has been merged in upstream. see scylladb@23a57b8

use string_view instead of string, as string_view would suffice for
conversion and for building a vector<char>

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
Message-Id: <20220614134429.3750381-1-tchaikov@gmail.com>
would be ideal if we can use IEC prefix when specifying the memory
usage. so we can just pass the settings used elsewhere, like
Kubernetes, to a Seastar application.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
Message-Id: <20220614135859.3913356-1-tchaikov@gmail.com>
@tchaikov
Copy link
Author

ping?

@tchaikov
Copy link
Author

tchaikov commented Sep 3, 2022

yet another ping?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant