com.mongodb.MongoException$DuplicateKey: { "serverUsed" : "localhost/ 127.0.0.1:27017" , "connectionId" : 414 , "err" : "insertDocument :: caused by :: 11000 E11000 duplicate key error index: sbtest.sbtest8.$_id_ dup key: { : 1 }" , "code" : 11000 , "n" : 0 , "ok" : 1.0}

Google Groups | 彪 杨 | 3 years ago
  1. 0

    run sysbench-mongodb error

    Google Groups | 3 years ago | 彪 杨
    com.mongodb.MongoException$DuplicateKey: { "serverUsed" : "localhost/ 127.0.0.1:27017" , "connectionId" : 414 , "err" : "insertDocument :: caused by :: 11000 E11000 duplicate key error index: sbtest.sbtest8.$_id_ dup key: { : 1 }" , "code" : 11000 , "n" : 0 , "ok" : 1.0}
  2. 0

    run sysbench-mongodb error

    Google Groups | 3 years ago | 彪 杨
    com.mongodb.MongoException$DuplicateKey: { "serverUsed" : "localhost/127.0.0.1:27017" , "connectionId" : 414 , "err" : "insertDocument :: caused by :: 11000 E11000 duplicate key error index: sbtest.sbtest8.$_id_ dup key: { : 1 }" , "code" : 11000 , "n" : 0 , "ok" : 1.0}
  3. 0

    run sysbench-mongodb error

    Google Groups | 3 years ago | 彪 杨
    com.mongodb.MongoException$DuplicateKey: { "serverUsed" : "localhost/127.0.0.1:27017" , "connectionId" : 410 , "err" : "insertDocument :: caused by :: 11000 E11000 duplicate key error index: sbtest.sbtest3.$_id_ dup key: { : 1 }" , "code" : 11000 , "n" : 0 , "ok" : 1.0}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    run sysbench-mongodb error

    Google Groups | 3 years ago | 彪 杨
    com.mongodb.MongoException$DuplicateKey: { "serverUsed" : "localhost/127.0.0.1:27017" , "connectionId" : 411 , "err" : "insertDocument :: caused by :: 11000 E11000 duplicate key error index: sbtest.sbtest5.$_id_ dup key: { : 1 }" , "code" : 11000 , "n" : 0 , "ok" : 1.0}
  6. 0

    run sysbench-mongodb error

    Google Groups | 3 years ago | 彪 杨
    com.mongodb.MongoException$DuplicateKey: { "serverUsed" : "localhost/127.0.0.1:27017" , "connectionId" : 409 , "err" : "insertDocument :: caused by :: 11000 E11000 duplicate key error index: sbtest.sbtest1.$_id_ dup key: { : 1 }" , "code" : 11000 , "n" : 0 , "ok" : 1.0}

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.mongodb.MongoException$DuplicateKey

      { "serverUsed" : "localhost/ 127.0.0.1:27017" , "connectionId" : 414 , "err" : "insertDocument :: caused by :: 11000 E11000 duplicate key error index: sbtest.sbtest8.$_id_ dup key: { : 1 }" , "code" : 11000 , "n" : 0 , "ok" : 1.0}

      at com.mongodb.CommandResult.getException()
    2. MongoDB Java Driver
      CommandResult.throwOnError
      1. com.mongodb.CommandResult.getException(CommandResult.java:74)
      2. com.mongodb.CommandResult.throwOnError(CommandResult.java:110)
      2 frames