the balancer has encountered an error : Data transfer error: ExceededTimeLimit: Failed to delete orphaned

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 4.4.20
    • Component/s: None
    • ALL
    • Hide

      the error like this

       

      {
          "_id": "hzcmongo09:9423-2025-06-07T10:49:19.329+08:00-6843a8afd9505fb3bed51f71",
          "server": "hzcmongo09:9423",
          "shard": "rep_shard3",
          "clientAddr": "",
          "time": ISODate("2025-06-07T02:49:19.329Z"),
          "what": "moveChunk.to",
          "ns": "cust_prd_db.c_cust_tag",
          "details": {
              "min":

      {             "_id": NumberLong("-9190260660713863566")         }

      ,
              "max":

      {             "_id": NumberLong("-9156834527910767774")         }

      ,
              "to": "rep_shard3",
              "from": "rep_shard2",
              "note": "aborted",
              "errmsg": "ExceededTimeLimit: Failed to delete orphaned cust_prd_db.c_cust_tag range [{ _id: -9190260660713863566 }, { _id: -9156834527910767774 }) :: caused by :: operation exceeded time limit"
          }
      }

      Show
      the error like this   {     "_id": "hzcmongo09:9423-2025-06-07T10:49:19.329+08:00-6843a8afd9505fb3bed51f71",     "server": "hzcmongo09:9423",     "shard": "rep_shard3",     "clientAddr": "",     "time": ISODate("2025-06-07T02:49:19.329Z"),     "what": "moveChunk.to",     "ns": "cust_prd_db.c_cust_tag",     "details": {         "min": {             "_id": NumberLong("-9190260660713863566")         } ,         "max": {             "_id": NumberLong("-9156834527910767774")         } ,         "to": "rep_shard3",         "from": "rep_shard2",         "note": "aborted",         "errmsg": "ExceededTimeLimit: Failed to delete orphaned cust_prd_db.c_cust_tag range [{ _id: -9190260660713863566 }, { _id: -9156834527910767774 }) :: caused by :: operation exceeded time limit"     } }
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None

      hi gus, my mongodb is use shard mode, now , the balancer has encountered an error : Data transfer error: ExceededTimeLimit: Failed to delete orphanedanybody can help me , ths
       
      my mongodb version is 4.4.20
       
      My database has 3 shards, but the shards are uneven.
       
      I found that the balancer keeps reporting errors. One shard has 80% of the data, while the other two shards combined only have 20% of the data
       
      so i try to move the chunk in manual, but asol encountered the same error sh.moveChunk(“xxxxxxx”, { “_id”: “xxxxx” }, “rep_shard1” )if i need change some system params ?
       
       

            Assignee:
            Unassigned
            Reporter:
            ma gaofeng
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: