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
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to