[Rpm-maint] [rpm-software-management/rpm] when rebuilding rpmdb database gets inconsistent when installing at the same time (#1761)
Shreenidhi Shedi
notifications at github.com
Fri Sep 17 17:39:59 UTC 2021
I have an update on this:
```
rpmtxn rpmtxnEnd(rpmtxn txn)
{
if (txn) {
sync(); // ---> This flushes the file system buffer cache and I'm not seeing contention anymore
rpmlockRelease(txn->lock);
if (txn->flags & RPMTXN_WRITE)
rpmsqBlock(SIG_UNBLOCK);
rpmtsFree(txn->ts);
free(txn);
}
return NULL;
}
```
--
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/issues/1761#issuecomment-921969050
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210917/e13cd52b/attachment.html>
More information about the Rpm-maint
mailing list