LockObtainedFailedException #2935

57 views
Skip to first unread message

Derek den Haas

unread,
Oct 27, 2014, 12:54:14 PM10/27/14
to rav...@googlegroups.com
Got the following error:
Lucene.Net.Store.LockObtainFailedException: Lock obtain time out: NativeFSLock@C:\RavenDB\Data\Indexes\Databases\xxxx\Raven-Suggestions\Raven\DocumentsByEntityName\Tag-Default-0%2c5\write.lock

over and over, on one of the 2 test databases. Suggestions is not set to true as far as I can tell (it's the default DocumentsByEntityName). Any idea's? No AV scanner running. 380k docs

Oren Eini (Ayende Rahien)

unread,
Oct 27, 2014, 1:04:09 PM10/27/14
to ravendb
What build are you using? Did you issue a query from the studio?

Hibernating Rhinos Ltd  

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

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

 


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

Derek den Haas

unread,
Oct 28, 2014, 3:53:45 AM10/28/14
to rav...@googlegroups.com
Nope, indexes remain stale, I'll get it when adding documents to the database, the database should index, but this error stops the index process.

Version was in subject: #2935

Op maandag 27 oktober 2014 18:04:09 UTC+1 schreef Oren Eini:

Oren Eini (Ayende Rahien)

unread,
Oct 28, 2014, 3:59:35 AM10/28/14
to ravendb
Hm...
Does this persist even if you restart the db?

Basically, it looks like suggestions has been enabled for this, likely at a later date.

You can prevent that using: Raven/PreventAutomaticSuggestionCreation

Workaround, shut down the db, delete the Raven-Suggestions directory, set the config value, and try again.

Derek den Haas

unread,
Oct 29, 2014, 3:16:52 AM10/29/14
to rav...@googlegroups.com
Yes

Added:
<add key="Raven/PreventAutomaticSuggestionCreation" value="false"/>
to Raven.Server.exe.config

Directory: Raven-Suggestions doesn't exists :|

Op dinsdag 28 oktober 2014 08:59:35 UTC+1 schreef Oren Eini:

Oren Eini (Ayende Rahien)

unread,
Oct 29, 2014, 4:18:05 AM10/29/14
to ravendb

So how is it locked?

Derek den Haas

unread,
Oct 30, 2014, 8:44:20 AM10/30/14
to rav...@googlegroups.com
http://i.imgur.com/ek3uedT.png

Was happening again, see screenshot, WITH your config change...

Op woensdag 29 oktober 2014 09:18:05 UTC+1 schreef Oren Eini:

Derek den Haas

unread,
Oct 30, 2014, 8:45:45 AM10/30/14
to rav...@googlegroups.com
Crap... wrong folder, my fault. Will remove them all

Op donderdag 30 oktober 2014 13:44:20 UTC+1 schreef Derek den Haas:
Reply all
Reply to author
Forward
0 new messages