How can I check is 'mongos' transfer query to secondary or not

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication, Sharding
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I'v configure replicaSet for one shard.
      And it seems that it not use my SECONDARY

      On secondary I run 'mongostat', and it always show 0 'query'
      I connect to mongo throw PHP driver ( setSlaveOkay() )

      And run 3 concurrent scripts, that connect to mongos

      I'v also see log from SECONDARY at number of connections is not grows

        1. mongos-logLevel-5.log
          8 kB
          Azat Khuzhin

            Assignee:
            Michael O'Brien
            Reporter:
            Azat Khuzhin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: