Jesse Norell wrote:
> On Mon, 2007-09-10 at 12:22 +0200, Michael Monnerie wrote:
>> Dear Devs, I still can see this happening:
>>
>> With -rc2:
>>> # dbmail-util -tubdpy
>>>
>>> Repairing DBMAIL messageblocks integrity...
>>> Ok. Found [0] unconnected messageblks.
>>>
>>> Repairing DBMAIL physmessage integrity...
>>> Ok. Found [91746] unconnected physmessages
>> Looks like all or most messages are going to be deleted?
> 
> 
>   I'm fairly certain (though it's not my data that's potentially lost :)
> that this is simply the fix for the long-standing bug #305.  Previously
> there was no check for abandonned physical messages, and that was added
> recently.  If you run it through one time and allow it to remove those,
> the next run should find none.  Try it on a copy of your data first if
> you want....

Yep. That's from #305.

The query that is generating the unconnected physmessages count is:

SELECT COUNT(*) FROM dbmail_physmessage WHERE id NOT IN
        (SELECT physmessage_id FROM dbmail_messages)


-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
DBmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to