[Rpm-maint] [rpm-software-management/rpm] Permit secondary index open to fail for bdb_ro (#1578)
Panu Matilainen
notifications at github.com
Mon Mar 15 11:39:17 UTC 2021
The other backends would want to create the missing index, but as bdb_ro is read-only it can't do that. As the main purpose of bdb_ro is to support migrating away from BDB for which only the primary database is needed, it doesn't make sense to fail it for non-essential data. Let it fail for secondary indexes - this might affect our ability to query but that's secondary, literally, and we also do emit a warning here.
Fixes: #1576
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/1578
-- Commit Summary --
* Fix bdb_ro index open error handling
* Permit secondary index open to fail for bdb_ro
-- File Changes --
M lib/backend/bdb_ro.c (14)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/1578.patch
https://github.com/rpm-software-management/rpm/pull/1578.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1578
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210315/1823abc4/attachment.html>
More information about the Rpm-maint
mailing list