Re: How to get out of snapshot mode?

Toby Dickenson <[email protected]> Mon, 20 Mar 2006 16:29:08 +0000
Newsgroups gmane.comp.web.zope.zodb.dirstorage
Message-ID <[email protected]>
On Monday 20 March 2006 16:06, Ed Leafe wrote:

> Snapshot mode
> The storage is currently in snapshot mode recombining/startup.

OK, so you already have restarted the storage server. DirectoryStorage has 
started recombining changes made during that previous snapshot mode, and wont 
let another snapshot mode start until that process is complete.

Why did it not complete? Maybe there is some clue in the error log. Maybe try 
restarting the storage server again. (or, maybe it is just taking a while. Is 
there lots of IO on this machine right now?)

> > Both of those options will fail if you still have a stale backup  
> > (or other)
> > process lying around holding a lock open on the misc/sublock file.
> 	
> 	How would I be able to tell if this is the case? And if so, what
> 	steps would I take? 

lsof, then kill it.

However Im now sure thats not the case. On startup DirectoryStorage has 
decided to start recombining. If something had still locked misc/sublock then 
DirectoryStorage would not have been able to start recombining. (in this case 
there would be an entry in the error log saying 'Engaging in snapshot mode')


-- 
Toby Dickenson

____________________

Important Notice:

This email and any attachments are confidential and may contain trade secrets or be legally privileged. If you have received this email in error you must not use, rely upon, disclose, copy or distribute the contents. Please reply to the sender so that proper delivery can be arranged and delete the email from your computer.
Gemini Data Loggers monitor incoming and outgoing email to ensure satisfactory customer service, maintain company security and prevent abuse of their email system. However, any views expressed in this email are not necessarily those of Gemini and Gemini cannot be held responsible for the content.
Gemini makes best efforts to ensure emails are virus free; however you are advised to carry out your own checks. Gemini does not accept responsibility for any damage resulting from email viruses.
____________________



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642