Getting following exception - Ravendb 35191

36 views
Skip to first unread message

John

unread,
Oct 19, 2017, 3:53:25 PM10/19/17
to RavenDB - 2nd generation document database
Throwing following exception when trying to open database from Studio. From studio is says "Opening database... The database is currently being open."

System.TimeoutException: The resource "mydatabase" is currently being loaded, but after 120 seconds, this request has been aborted. Please try again later, resource loading continues. at Raven.Database.Common.ResourceApiController`2.<TrySetupRequestToProperResource>d__33.MoveNext() in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Common\ResourceApiController.cs:line 275System.TimeoutException: The resource "mydatabase" is currently being loaded, but after 120 seconds, this request has been aborted. Please try again later, resource loading continues. at Raven.Database.Common.ResourceApiController`2.<TrySetupRequestToProperResource>d__33.MoveNext() in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Common\ResourceApiController.cs:line 275

Oren Eini (Ayende Rahien)

unread,
Oct 19, 2017, 4:03:25 PM10/19/17
to ravendb
That is strange, given the timeout range.
Did you just upgrade this db from an older version?
What do you see in the admin logs?

Hibernating Rhinos Ltd  

Oren Eini l CEO Mobile: + 972-52-548-6969

Office: +972-4-622-7811 l Fax: +972-153-4-622-7811

 


On Thu, Oct 19, 2017 at 10:53 PM, John <jbri...@gmail.com> wrote:
Throwing following exception when trying to open database from Studio. From studio is says "Opening database... The database is currently being open."

System.TimeoutException: The resource "mydatabase" is currently being loaded, but after 120 seconds, this request has been aborted. Please try again later, resource loading continues. at Raven.Database.Common.ResourceApiController`2.<TrySetupRequestToProperResource>d__33.MoveNext() in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Common\ResourceApiController.cs:line 275System.TimeoutException: The resource "mydatabase" is currently being loaded, but after 120 seconds, this request has been aborted. Please try again later, resource loading continues. at Raven.Database.Common.ResourceApiController`2.<TrySetupRequestToProperResource>d__33.MoveNext() in C:\Builds\RavenDB-Stable-3.5\Raven.Database\Common\ResourceApiController.cs:line 275

--
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.

John

unread,
Oct 19, 2017, 4:18:57 PM10/19/17
to RavenDB - 2nd generation document database
We did the upgrade the Database. It was working fine before. Suddenly started getting this error today

This exception is from Admin log. It keeps throwing this exception and never opens the database
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.

Oren Eini (Ayende Rahien)

unread,
Oct 19, 2017, 4:19:54 PM10/19/17
to ravendb
Is there anything else that it says that it is doing? 
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.

John

unread,
Oct 19, 2017, 4:33:12 PM10/19/17
to RavenDB - 2nd generation document database
After this I keep getting the timeout exception....

2017-10-19T20:27:12.3352120Z;DEBUG;<system>;Raven.Database.Storage.Esent.StorageActions.DocumentStorageActions;Document with key 'Raven/Replication/Destinations' was not found 2017-10-19T20:27:12.3412167Z;DEBUG;<system>;Raven.Database.Server.WebApi.RequestManager;Receive Request # 627: GET - - https://XXXXXX.com/docs?id=Raven%2FDatabases%2Fmydatabase 2017-10-19T20:27:12.3552305Z;DEBUG;<system>;Raven.Database.Server.WebApi.RequestManager;Request # 623: GET - 212,569 ms - mydatabase - 503 - https://XXXX.com/databases/mydatabase/reduced-database-stats 2017-10-19T20:27:12.3582346Z;DEBUG;<system>;Raven.Database.Server.WebApi.RequestManager;Request # 622: GET - 212,854 ms - mydatabase - 503 - https://XXXXX.com/databases/mydatabse/reduced-database-stats 2017-10-19T20:27:12.3582346Z;DEBUG;<system>;Raven.Database.Storage.Esent.StorageActions.DocumentStorageActions;Document with key 'Raven/Databases/mydatabase' was found, etag: 01000000-0000-0001-0000-000000000030 2017-10-19T20:27:12.3592344Z;DEBUG;<system>;Raven.Database.Server.WebApi.RequestManager;Request # 627: GET - 18 ms - - 200 - https://xxxxxx.com/docs?id=Raven%2FDatabases%2Fmydatabase 2017-10-19T20:27:12.4323040Z;DEBUG;<system>;Raven.Database.Server.WebApi.RequestManager;Receive Request # 628: GET - mydatabase - https://xxxxxx.com/databases/mydatabase/indexes/ParentUID?definition=yes 2017-10-19T20:27:12.9297824Z;DEBUG;<system>;Raven.Database.Server.WebApi.RequestManager;Receive Request # 629: GET - mydatabase - https://xxxxx.com/databases/mydatabase/reduced-database-stats 2017-10-19T20:27:12.9477994Z;DEBUG;<system>;Raven.Database.Server.WebApi.RequestManager;Receive Request # 630: GET - mydatabase - https://xxxx.com/databases/mydatabase/reduced-database-stats

John

unread,
Oct 19, 2017, 4:34:42 PM10/19/17
to RavenDB - 2nd generation document database


On Thursday, October 19, 2017 at 1:33:12 PM UTC-7, John wrote:
After this I keep getting the timeout exception....

2017-10-19T20:27:12.3352120Z;DEBUG;<system>;Raven.Database.Storage.Esent.StorageActions.DocumentStorageActions;Document with key 'Raven/Replication/Destinations' was not found 2017-10-19T20:27:12.3412167Z;DEBUG;<system>;Raven.Database.Server.WebApi.RequestManager;Receive Request # 627: GET - - https://XXXXXX.com/docs?id=Raven%2FDatabases%2Fmydatabase 2017-10-19T20:27:12.3552305Z;DEBUG;<system>;Raven.Database.Server.WebApi.RequestManager;Request # 623: GET - 212,569 ms - mydatabase - 503 - https://XXXX.com/databases/mydatabase/reduced-database-stats 2017-10-19T20:27:12.3582346Z;DEBUG;<system>;Raven.Database.Server.WebApi.RequestManager;Request # 622: GET - 212,854 ms - mydatabase - 503 - https://XXXXX.com/databases/mydatabse/reduced-database-stats 2017-10-19T20:27:12.3582346Z;DEBUG;<system>;Raven.Database.Storage.Esent.StorageActions.DocumentStorageActions;Document with key 'Raven/Databases/mydatabase' was found, etag: 01000000-0000-0001-0000-000000000030 2017-10-19T20:27:12.3592344Z;DEBUG;<system>;Raven.Database.Server.WebApi.RequestManager;Request # 627: GET - 18 ms - - 200 - https://xxxxxx.com/docs?id=Raven%2FDatabases%2Fmydatabase 2017-10-19T20:27:12.4323040Z;DEBUG;<system>;Raven.Database.Server.WebApi.RequestManager;Receive Request # 628: GET - mydatabase - https://xxxxxx.com/databases/mydatabase/indexes/ParentUID?definition=yes 2017-10-19T20:27:12.9297824Z;DEBUG;<system>;Raven.Database.Server.WebApi.RequestManager;Receive Request # 629: GET - mydatabase - https://xxxxx.com/databases/mydatabase/reduced-database-stats 2017-10-19T20:27:12.9477994Z;DEBUG;<system>;Raven.Database.Server.WebApi.RequestManager;Receive Request # 630: GET - mydatabase - https://xxxx.com/databases/mydatabase/reduced-database-stats
2017-10-19T20:27:52.6129031Z;INFO;mydatabase;Raven.Database.Impl.DTC.InFlightTransactionalState;Performing Transactions Cleanup Sequence for db mydatabase

Oren Eini (Ayende Rahien)

unread,
Oct 22, 2017, 6:26:48 AM10/22/17
to ravendb
Is there anything logged to the console? I'm trying to think how such a thing can happen, and about the only thing that pops to mind if is it hang during recovery or upgrade.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages