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

Remove obsolete backupable_db.h, utility_db.h #9438

Closed
wants to merge 3 commits into from

Conversation

pdillinger
Copy link
Contributor

Summary: This also removes the obsolete names BackupableDBOptions
and UtilityDB. API users must now use BackupEngineOptions and
DBWithTTL::Open. In C API, rocksdb_backupable_db_* is replaced
rocksdb_backup_engine_*. Similar renaming in Java API.

In reference to #9389

Test Plan: CI

Summary: This also removes the obsolete names BackupableDBOptions
and UtilityDB. API users must now use BackupEngineOptions and
DBWithTTL::Open. In C API, `rocksdb_backupable_db_*` is replaced
`rocksdb_backup_engine_*`. Similar renaming in Java API.

In reference to facebook#9389

Test Plan: CI
@facebook-github-bot
Copy link
Contributor

@pdillinger has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Copy link
Contributor

@mrambacher mrambacher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Hard to read and spot anything that was missed!

@facebook-github-bot
Copy link
Contributor

@pdillinger has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot
Copy link
Contributor

@pdillinger has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot pushed a commit to facebookincubator/Glean that referenced this pull request Jan 27, 2022
Summary:
Exact codemod:
```
perl -pi -e 's/backupable_db.h/backup_engine.h/g' `fbgs -l backupable_db.h`
perl -pi -e 's/BackupableDBOptions/BackupEngineOptions/g' `fbgs -l
BackupableDBOptions`
perl -pi -e 's/backupable_db_options/backup_engine_options/g' `fbgs -l
backupable_db_options`
hg revert fbcode/rocksdb/ fbcode/internal_repo_rocksdb/
```

Manually add extra #include for these (because of reduced transitive includes):
```
rocks/nfs_volume/nfs_volume_backup_test.cc
stargate/StargateDb.h
```

In preparation for removing old header and names. See
facebook/rocksdb#9438

Reviewed By: ajkr

Differential Revision: D33780423

fbshipit-source-id: ed3078818c7964ffb50693b34b93b67ef8a2aae6
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.

3 participants