The database has been unloaded and locked by IdleOperations

379 views
Skip to first unread message

thilak...@forthi.com

unread,
Aug 30, 2018, 11:49:55 PM8/30/18
to RavenDB - 2nd generation document database
What does it mean when Raven Studio displays this message? What should we do?

Oren Eini (Ayende Rahien)

unread,
Sep 2, 2018, 3:15:49 AM9/2/18
to ravendb
This typically happens when the db has been shut down for being idle for too long.
This should take only a short amount of time and then the lock would be released and the db is available for loading again.

Basically, when unload a db, we lock the database access to prevent weird stuff from happening. You might have hit it at just the right time, but trying again should mean you can use it 

On Fri, Aug 31, 2018 at 6:49 AM, <thilak...@forthi.com> wrote:
What does it mean when Raven Studio displays this message? What should we do?

--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Oren Eini
CEO   /   Hibernating Rhinos LTD
Skype:  ayenderahien
Support:  sup...@ravendb.net

thilak...@forthi.com

unread,
Sep 2, 2018, 7:56:18 AM9/2/18
to RavenDB - 2nd generation document database
Ok. This may actually be a bug of some sort. Wish I can replicate to file a bug report. We had a database (not that large, maybe 70,000 records) suddenly not accessible and I couldn’t figure out how to “make it accessible” again.

Because it was urgent, I restarted the server and everything worked as usual again.

thilak...@forthi.com

unread,
Sep 2, 2018, 7:59:31 AM9/2/18
to RavenDB - 2nd generation document database
By the way, when I say not accessible, we waited about 3 hours. Pretty powerful server, 2 other databases hosted on it, both not large (prolly 100,000 records between them).

Oren Eini (Ayende Rahien)

unread,
Sep 2, 2018, 8:03:24 AM9/2/18
to ravendb
So no, something is wrong there, yes.

On Sun, Sep 2, 2018 at 2:59 PM, <thilak...@forthi.com> wrote:
By the way, when I say not accessible, we waited about 3 hours. Pretty powerful server, 2 other databases hosted on it, both not large (prolly 100,000 records between them).
--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

thilak...@forthi.com

unread,
Sep 12, 2018, 10:52:40 PM9/12/18
to RavenDB - 2nd generation document database
Ok, as a follow up. We're running Raven 4.1 now. Today, suddenly we got this:

Raven.Client.Exceptions.Database.DatabaseLoadFailureException: Raven.Client.Exceptions.Database.DatabaseLoadFailureException: Failed to start database XXXXXXX
At R:\RavenDB\Data\Databases\XXXXXXX ---> Voron.Exceptions.VoronUnrecoverableErrorException: Asked to load a value that where the allocated size is smaller than the used size: 8857947 from page 1081
   at
Voron.Exceptions.VoronUnrecoverableErrorException.Raise(StorageEnvironment env, String message) in C:\Builds\RavenDB-Stable-4.1\src\Voron\Exceptions\VoronUnrecoverableErrorException.cs:line 18

This is a single machine. No cluster. It was previously running clustered on 2 machines, but I removed the cluster. Database on Raven Studio was showing Offline. Trying to open it throws the same error.

We restarted the server. Waited. Repeat again several times. Then it suddenly started working.

Anything I can provide to be more helpful? Any ideas?




On Sunday, September 2, 2018 at 8:03:24 PM UTC+8, Oren Eini wrote:
So no, something is wrong there, yes.
On Sun, Sep 2, 2018 at 2:59 PM, <thilak...@forthi.com> wrote:
By the way, when I say not accessible, we waited about 3 hours. Pretty powerful server, 2 other databases hosted on it, both not large (prolly 100,000 records between them).

--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Oren Eini (Ayende Rahien)

unread,
Sep 13, 2018, 2:04:44 AM9/13/18
to ravendb
Looks strange, and it appears to have fixed itself, but if this happens again, please create a copy of the db and see if you can send it to us for analysis?

To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages