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

Fix rocksdb::Status::getState #1714

Closed
wants to merge 3 commits into from

Conversation

adamretter
Copy link
Collaborator

This fixes the Java API for Status#getState use in Native code and also simplifies the implementation of rocksdb::Status::getState.
Closes #1688

@facebook-github-bot
Copy link
Contributor

@yiwu-arbug has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@yiwu-arbug
Copy link
Contributor

@adamretter Some of the tests a failing in travis. Do you mind take a look?

@facebook-github-bot
Copy link
Contributor

@adamretter updated the pull request - view changes - changes since last import

@facebook-github-bot
Copy link
Contributor

@adamretter updated the pull request - view changes - changes since last import

@facebook-github-bot
Copy link
Contributor

@adamretter updated the pull request - view changes - changes since last import

@facebook-github-bot
Copy link
Contributor

@adamretter updated the pull request - view changes - changes since last import

@facebook-github-bot
Copy link
Contributor

@adamretter updated the pull request - view changes - changes since last import

@facebook-github-bot
Copy link
Contributor

@yiwu-arbug has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@yiwu-arbug
Copy link
Contributor

yiwu-arbug commented Jan 3, 2017

Is it safe to change the existing behavior where Status::GetStatus() returns "size + msg + sub_msg"? cc @siying @IslamAbdelRahman

@adamretter
Copy link
Collaborator Author

@yiwu-arbug I did not see it being used within the Rocks project anywhere apart from the one place I fixed it ;-)

@yiwu-arbug
Copy link
Contributor

@adamretter Okay. Mind running make format? Thanks.

This simplifies the implementation and doesn't use a custom encoding scheme for the bytes
@facebook-github-bot
Copy link
Contributor

@adamretter updated the pull request - view changes - changes since last import

@facebook-github-bot
Copy link
Contributor

@adamretter updated the pull request - view changes - changes since last import

@adamretter
Copy link
Collaborator Author

@yiwu-arbug I made the formatting changes. I am not certain if there is still a problem with the build or not, I can't seem to reproduce (macOS Sierra) but I think Travis had an issue still... any ideas?

@yiwu-arbug
Copy link
Contributor

The tailing iterator test is broken for a while. I'm merging the change.

@facebook-github-bot
Copy link
Contributor

@yiwu-arbug has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@adamretter adamretter deleted the fix-status-getState branch May 9, 2017 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Broken messages in java RocksDBException
3 participants