Comment 1 for bug 733115

Revision history for this message
Morten Brekkevold (mbrekkevold) wrote :

pping registers an RRD file in NAV's PostgreSQL database as soon as it is created by pping. If the RRD file once existed in the same location but has since been removed, it may still be referenced in the db. pping doesn't check to see if it's already in the db, and fails on an integrity error.

I guess pping should either check the db before inserting a new row, or handle the integrityerror more gracefully.