Hi there
We have this error coming up when we try to write to Raven (it might
be just one record, as we try to write, it fails, and we go back and
try again later....)
We are using 960 on Windows 2008 R2.
The machine has 12GB of RAM, and Raven commonly uses all of it. The
database is about 6GB or so, with about 170meg of indexes - 1.2m
documents, and about 30 indexes.
Could this be the result of either an out of memory situation, or a
corrupt index (most likely the result of an unscheduled reboot, or an
out of memory). All indexes are showing as stale, tho they are also
being written to quite often, so that may not be a proper data point.
Any ideas?
Thanks
Nic
Universal Music.
Failed to publish orders because
System.Reflection.TargetInvocationException: Exception has been thrown
by the target of an invocation.
---> System.Reflection.TargetInvocationException: Exception has been
thrown by the target of an invocation.
---> System.InvalidOperationException: Url: "/bulk_docs"
Microsoft.Isam.Esent.Interop.EsentNoCurrentRecordException: Currency
not on a record
at Microsoft.Isam.Esent.Interop.Api.JetRetrieveColumn(JET_SESID sesid,
JET_TABLEID tableid, JET_COLUMNID columnid, Byte[] data, Int32
dataSize, Int32 dataOffset, Int32& actualDataSize, RetrieveColumnGrbit
grbit, JET_RETINFO retinfo)
at Microsoft.Isam.Esent.Interop.Api.RetrieveColumn(JET_SESID sesid,
JET_TABLEID tableid, JET_COLUMNID columnid, RetrieveColumnGrbit grbit,
JET_RETINFO retinfo)
at Microsoft.Isam.Esent.Interop.Api.RetrieveColumn(JET_SESID sesid,
JET_TABLEID tableid, JET_COLUMNID columnid)
at Raven.Storage.Esent.StorageActions.DocumentStorageActions.EnsureDocumentEtagMatchInTransaction(String
key, Nullable`1 etag)
at Raven.Storage.Esent.StorageActions.DocumentStorageActions.AddDocumentInTransaction(String
key, Nullable`1 etag, RavenJObject data, RavenJObject metadata,
TransactionInformation transactionInformation)
at Raven.Database.DocumentDatabase.<>c__DisplayClass37.<Put>b__30(IStorageActionsAccessor
actions) at
Raven.Storage.Esent.TransactionalStorage.Batch(Action`1 action)
at Raven.Database.DocumentDatabase.Put(String key, Nullable`1 etag,
RavenJObject document, RavenJObject metadata, TransactionInformation
transactionInformation)
at Raven.Database.Extensions.CommandExtensions.Execute(ICommandData
self, DocumentDatabase database)
at Raven.Database.DocumentDatabase.<>c__DisplayClassca.<Batch>b__c6(IStorageActionsAccessor
actions)
at Raven.Storage.Esent.TransactionalStorage.ExecuteBatch(Action`1 action)
at Raven.Storage.Esent.TransactionalStorage.Batch(Action`1 action)
at Raven.Database.DocumentDatabase.Batch(IEnumerable`1 commands)
at Raven.Database.Server.Responders.DocumentBatch.Batch(IHttpContext
context)
at Raven.Database.Server.Responders.DocumentBatch.Respond(IHttpContext
context)
at Raven.Database.Server.HttpServer.DispatchRequest(IHttpContext ctx)
at Raven.Database.Server.HttpServer.HandleActualRequest(IHttpContext
ctx)
at Raven.Client.Connection.HttpJsonRequest.ReadStringInternal(Func`1
getResponse) in
c:\Builds\raven\Raven.Client.Lightweight\Connection\HttpJsonRequest.cs:line
362
at Raven.Client.Connection.HttpJsonRequest.ReadResponseString() in
c:\Builds\raven\Raven.Client.Lightweight\Connection\HttpJsonRequest.cs:line
194
at Raven.Client.Connection.HttpJsonRequest.ReadResponseJson() in
c:\Builds\raven\Raven.Client.Lightweight\Connection\HttpJsonRequest.cs:line
594
at Raven.Client.Connection.ServerClient.DirectBatch(IEnumerable`1
commandDatas, String operationUrl) in
c:\Builds\raven\Raven.Client.Lightweight\Connection\ServerClient.cs:line
801
at Raven.Client.Connection.ServerClient.<>c__DisplayClass4f.<Batch>b__4e(String
u) in c:\Builds\raven\Raven.Client.Lightweight\Connection\ServerClient.cs:line
786
at Raven.Client.Connection.ServerClient.TryOperation[T](Func`2
operation, String operationUrl, Boolean avoidThrowing, T& result) in
c:\Builds\raven\Raven.Client.Lightweight\Connection\ServerClient.cs:line
196
at Raven.Client.Connection.ServerClient.ExecuteWithReplication[T](String
method, Func`2 operation) in
c:\Builds\raven\Raven.Client.Lightweight\Connection\ServerClient.cs:line
166
at Raven.Client.Connection.ServerClient.Batch(IEnumerable`1
commandDatas) in
c:\Builds\raven\Raven.Client.Lightweight\Connection\ServerClient.cs:line
786
at Raven.Client.Document.DocumentSession.SaveChanges() in
c:\Builds\raven\Raven.Client.Lightweight\Document\DocumentSession.cs:line
413
at RavenDb.Repository.RavenDbRepository.Save[T](T instance) in
d:\BuildAgent\work\665c94433f83b8d0\src\CommonProjects\RavenDb.Repository\RavenDbRepos
--
Nic Wise
t.
+44 7788 592 806 | @fastchicken |
http://www.linkedin.com/in/nicwise
b.
http://www.fastchicken.co.nz/
mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go:
http://goo.gl/ePhKa
Earnest: Self-employed? Track your business expenses and income.
http://earnestapp.com
Nearest Bus: find when the next bus is coming to your stop.
http://goo.gl/Vcz1p
London Bike App: Find the nearest Boris Bike, and get riding!
http://goo.gl/Icp2