Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-326

Sharding assertion strategy_shard.cpp

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major - P3 Major - P3
    • None
    • 2.5.3
    • None
    • None
    • Server 1.8.1
      Java 2.5.3
      Configuration: basic sharding (3-nodes, 1 config DB, no replication)

    Description

      Assertion:
      "assertion s/strategy_shard.cpp:175"

      Basic premise:

      • Testing multi-threaded inserts into a single collection
      • Running 50 insert threads against a single mongoS
      • Testing runs fine for several hundred thousand inserts
      • Testing then start throwing this exception

      Shard key: a simple _id.

      Exception:

      • does not occur with { java : 2.5.3, server : 1.6.5 }
      • does not occur with { java : 2.3, server : 1.8.1 }
      • does not occur with { java : 2.3, server : 1.6.5 }
      • is returned from a "GetLastError" call. (see attached for code)
      • seems to occur at about 11 or 12 chunks (9:1:1)

      (note: this may be a server bug, but given that older java drivers do not have the error, it should start here)

      Attachments

        Activity

          People

            antoine Antoine Girbal
            gatesvp Gaetan Voyer-Perrault
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: