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

kv: fix bug in kv key optimization #6511

Merged
merged 1 commit into from Nov 9, 2015
Merged

Conversation

liewegas
Copy link
Member

@liewegas liewegas commented Nov 9, 2015

No description provided.

When constructing a string from a char* there is only a single
length argument, no offset.  The 3 argument variant we were using
was converting to a std::string first (an prematurely terminating
on \0).

Signed-off-by: Sage Weil <sage@redhat.com>
@athanatos
Copy link
Contributor

looks right to me.

liewegas added a commit that referenced this pull request Nov 9, 2015
kv: fix bug in kv key optimization

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
@liewegas liewegas merged commit 62f122d into ceph:master Nov 9, 2015
@liewegas liewegas deleted the wip-fix-kv branch November 9, 2015 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants