RavenDB EsentOutOfLongValueIDsException

When trying to add or update a document, the following error periodically occurs: "Microsoft.Isam.Esent.Interop.EsentOutOfLongValueIDsException: ID counter with a large value reached its maximum value (perform offline defragmentation to restore free / unused LongValueIDs)"

I tried to perform this offline defragmentation in accordance with https://ravendb.net/docs/article-page/3.5/csharp/users-issues/recovering-from-esent-errors . I stopped the RavenDB service, went to the "Databases" folder on the admin command line, and ran "esentutl / d DatabaseName". Then I get the following error: "Error accessing the original database" DatabaseName "with the Jet-1032 error. The operation completed using wrror -1032 after 20.31 seconds." I also tried to restart the server with RavenDB, which was not installed to start at startup. I still get error -1032 when trying to defragment.

Does the defrag operation perform the correct action? If so, what processes will I need to stop so that these files are not used?

Thanks!

+5
source share
1 answer

The solution was to work for the raven. Raven studio> Server Management> Compact. Compactness deletes the database, so I ran it on replicated servers one at a time.

+1
source

Source: https://habr.com/ru/post/1268778/


All Articles