Subject | Re: Can stopping the Firebird Server damage database if a sweep is being performed - Email found in subject |
---|---|
Author | hvlad |
Post date | 2010-05-14T21:44:01Z |
> > The IB 5.5 documentation describes a sweep being triggered when:Also i should note, that actually sweep is triggered when difference between just re-calculated numbers of "oldest snapshot of all active transactions" (OST) and "oldest interesting transaction" (OIT) reaches the sweep interval value :
> >
> > "... the difference between the OIT and the newest transaction reaches the threshold."
// If the transaction block is getting out of hand, force a sweep
if (dbb->dbb_sweep_interval &&
!(tdbb->getAttachment()->att_flags & ATT_no_cleanup) &&
(trans->tra_oldest_active - trans->tra_oldest > dbb->dbb_sweep_interval) &&
oldest_state != tra_limbo)
{
start_sweeper(tdbb, dbb);
}
This was not changes since FB1.
Regards,
Vlad