AWS Thinkbox Discussion Forums

WriteConcern detected an error

Getting a few of these errors thrown, I don’t think we’ve seen them before…

=======================================================
Error

WriteConcern detected an error ‘’. (Response was { “ok” : 1, “code” : 11000, “err” : “E11000 duplicate key error index: deadline8db.ThrottleQueue.$MachineName_1 dup key: { : null }”, “n” : NumberLong(0), “updatedExisting” : false }).

=======================================================
Type

MongoDuplicateKeyException

=======================================================
Stack Trace

at MongoDB.Driver.Operations.UpdateOpcodeOperationEmulator.Execute(MongoConnection connection)
at MongoDB.Driver.Operations.UpdateOpcodeOperation.Execute(MongoConnection connection)
at MongoDB.Driver.MongoCollection.Update(IMongoQuery query, IMongoUpdate update, MongoUpdateOptions options)
at Deadline.StorageDB.MongoDB.MongoSlaveStorage.RequestStartFromThrottleQueue(String slaveName)
at Deadline.Slaves.SlaveSchedulerThread.f()
at Deadline.Slaves.SlaveSchedulerThread.i()

=======================================================
Log

2016-02-12 14:44:05: Scheduler Thread - Unexpected Error Occurred
2016-02-12 14:44:05: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

=======================================================
Details

Date: 02/12/2016 14:44:06
Frames: (no task)
Elapsed Time: 00:00:00:00
Job Submit Date: 02/12/2016 14:38:39
Job User: paul.hursell

=======================================================
Slave Information

Slave Name: Render44
Version: v8.0.0.50 Beta (dd3a9e577)
Operating System: Windows 7 Professional (SP1)
Running As Service: No
Machine User: render
IP Address: 192.168.0.81
MAC Address: 00:1D:09:6A:0C:79
CPU Architecture: x64
CPUs: 8
CPU Usage:
Memory Usage:
Free Disk Space:
Video Card: Standard VGA Graphics Adapter

Thanks for reporting this, we will look into it.

Hi Ryan

We are getting a similar thing with 8.0.0.52.

2016-03-03 12:49:00: Exception Details
2016-03-03 12:49:00: MongoDuplicateKeyException – WriteConcern detected an error ‘’. (Response was { “ok” : 1, “code” : 11000, “err” : “E11000 duplicate key error index: deadline8db.ThrottleQueue.$MachineName_1 dup key: { : null }”, “n” : NumberLong(0), “updatedExisting” : false }).
2016-03-03 12:49:00: MongoWriteConcernException.WriteConcernResult: MongoDB.Driver.WriteConcernResult
2016-03-03 12:49:00: MongoCommandException.Code: 11000
2016-03-03 12:49:00: MongoCommandException.CommandResult: MongoDB.Driver.WriteConcernResult
2016-03-03 12:49:00: MongoCommandException.ErrorMessage: Unknown error.
2016-03-03 12:49:00: MongoCommandException.Result: { “ok” : 1, “code” : 11000, “err” : “E11000 duplicate key error index: deadline8db.ThrottleQueue.$MachineName_1 dup key: { : null }”, “n” : NumberLong(0), “updatedExisting” : false }
2016-03-03 12:49:00: Exception.Data: ( System.Collections.DictionaryEntry )
2016-03-03 12:49:00: Exception.TargetSite: MongoDB.Driver.WriteConcernResult Execute(MongoDB.Driver.Internal.MongoConnection)
2016-03-03 12:49:00: Exception.Source: MongoDB.Driver
2016-03-03 12:49:00: Exception.HResult: -2146233088
2016-03-03 12:49:00: Exception.StackTrace:
2016-03-03 12:49:00: at MongoDB.Driver.Operations.UpdateOpcodeOperationEmulator.Execute(MongoConnection connection)
2016-03-03 12:49:00: at MongoDB.Driver.Operations.UpdateOpcodeOperation.Execute(MongoConnection connection)
2016-03-03 12:49:00: at MongoDB.Driver.MongoCollection.Update(IMongoQuery query, IMongoUpdate update, MongoUpdateOptions options)
2016-03-03 12:49:00: at Deadline.StorageDB.MongoDB.MongoSlaveStorage.RequestStartFromThrottleQueue(String slaveName)
2016-03-03 12:49:00: at Deadline.Slaves.SlaveSchedulerThread.f()
2016-03-03 12:49:00: at Deadline.Slaves.SlaveSchedulerThread.i()

Regards

Fergus

I’m happy to report that this has been fixed internally, and the fix will be included in beta 9.

Thanks!
Ryan

Privacy | Site terms | Cookie preferences