-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Replace deprecated RocksDB#addFile with RocksDB#ingestExternalFile #2291
Conversation
@sagar0 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
I am not sure if there are any users of |
@adamretter Seems like the Java builds in Travis are failing in this as well as other PRs with: I will wait for the appveyor builds to start passing again before merging this. |
@sagar0 Yeah, I looked into Travis and saw the build failures for the file It seems that |
Looks good to me. |
@adamretter Could you please rebase and push again? |
fabb17f
to
b0ca22a
Compare
@adamretter updated the pull request - view changes - changes since last import |
@sagar0 Yup, done :-) |
@sagar0 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Sorry for asking again, but possible to do another rebase? I just fixed the appveyor/windows build break (in #2309), and we can't have it broken again. |
b0ca22a
to
0a51caf
Compare
@adamretter updated the pull request - view changes - changes since last import |
@sagar0 Yup. Done |
The java builds on travis failed. Can you take a look?
|
0a51caf
to
6b925ea
Compare
@adamretter updated the pull request - view changes - changes since last import |
…#ingestExternalFile
6b925ea
to
5f02dab
Compare
@sagar0 Oops! Okay I have added that now |
@adamretter updated the pull request - view changes - changes since last import |
@sagar0 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Previously the Java implementation of
RocksDB#addFile
was both incomplete and not inline with the C++ API.Rather than fix it, as I see that
rocksdb::DB::AddFile
is now deprecated in favour ofrocksdb::DB::IngestExternalFile
, I have removed the old broken implementation and implementedRocksDB#ingestExternalFile
.Closes #2261