Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-2806

Rate limit push monitor handshake sends

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.16.1, 2.17.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible

      The push monitor handshake sends appear to not be rate limited:

      [2021/10/07 01:15:46.766] W, [2021-10-07T01:15:46.734697 #12884]  WARN -- : MONGODB | Error running awaited hello on 516484f639-shard-00-00.80104.mongodb-qa.net:27016: Mongo::Error::SocketError: Errno::ECONNREFUSED: Connection refused - connect(2) for 18.213.18.186:27016 (for 18.213.18.186:27016 (516484f639-shard-00-00.80104.mongodb-qa.net:27016, TLS)) (on 516484f639-shard-00-00.80104.mongodb-qa.net:27016)
      [2021/10/07 01:15:46.766] W, [2021-10-07T01:15:46.737036 #12884]  WARN -- : MONGODB | Error running awaited hello on 516484f639-shard-00-00.80104.mongodb-qa.net:27016: Mongo::Error::SocketError: Errno::ECONNREFUSED: Connection refused - connect(2) for 18.213.18.186:27016 (for 18.213.18.186:27016 (516484f639-shard-00-00.80104.mongodb-qa.net:27016, TLS)) (on 516484f639-shard-00-00.80104.mongodb-qa.net:27016)
      [2021/10/07 01:15:46.766] W, [2021-10-07T01:15:46.738400 #12884]  WARN -- : MONGODB | Error running awaited hello on 516484f639-shard-00-00.80104.mongodb-qa.net:27016: Mongo::Error::SocketError: Errno::ECONNREFUSED: Connection refused - connect(2) for 18.213.18.186:27016 (for 18.213.18.186:27016 (516484f639-shard-00-00.80104.mongodb-qa.net:27016, TLS)) (on 516484f639-shard-00-00.80104.mongodb-qa.net:27016)
      [2021/10/07 01:15:46.766] W, [2021-10-07T01:15:46.740858 #12884]  WARN -- : MONGODB | Error running awaited hello on 516484f639-shard-00-00.80104.mongodb-qa.net:27016: Mongo::Error::SocketError: Errno::ECONNREFUSED: Connection refused - connect(2) for 18.213.18.186:27016 (for 18.213.18.186:27016 (516484f639-shard-00-00.80104.mongodb-qa.net:27016, TLS)) (on 516484f639-shard-00-00.80104.mongodb-qa.net:27016)
      [2021/10/07 01:15:46.766] W, [2021-10-07T01:15:46.743189 #12884]  WARN -- : MONGODB | Error running awaited hello on 516484f639-shard-00-00.80104.mongodb-qa.net:27016: Mongo::Error::SocketError: Errno::ECONNREFUSED: Connection refused - connect(2) for 18.213.18.186:27016 (for 18.213.18.186:27016 (516484f639-shard-00-00.80104.mongodb-qa.net:27016, TLS)) (on 516484f639-shard-00-00.80104.mongodb-qa.net:27016)
      [2021/10/07 01:15:46.766] W, [2021-10-07T01:15:46.744620 #12884]  WARN -- : MONGODB | Error running awaited hello on 516484f639-shard-00-00.80104.mongodb-qa.net:27016: Mongo::Error::SocketError: Errno::ECONNREFUSED: Connection refused - connect(2) for 18.213.18.186:27016 (for 18.213.18.186:27016 (516484f639-shard-00-00.80104.mongodb-qa.net:27016, TLS)) (on 516484f639-shard-00-00.80104.mongodb-qa.net:27016)
      [2021/10/07 01:15:46.766] W, [2021-10-07T01:15:46.746317 #12884]  WARN -- : MONGODB | Error running awaited hello on 516484f639-shard-00-00.80104.mongodb-qa.net:27016: Mongo::Error::SocketError: Errno::ECONNREFUSED: Connection refused - connect(2) for 18.213.18.186:27016 (for 18.213.18.186:27016 (516484f639-shard-00-00.80104.mongodb-qa.net:27016, TLS)) (on 516484f639-shard-00-00.80104.mongodb-qa.net:27016)
      [2021/10/07 01:15:46.766] W, [2021-10-07T01:15:46.747648 #12884]  WARN -- : MONGODB | Error running awaited hello on 516484f639-shard-00-00.80104.mongodb-qa.net:27016: Mongo::Error::SocketError: Errno::ECONNREFUSED: Connection refused - connect(2) for 18.213.18.186:27016 (for 18.213.18.186:27016 (516484f639-shard-00-00.80104.mongodb-qa.net:27016, TLS)) (on 516484f639-shard-00-00.80104.mongodb-qa.net:27016)
      [2021/10/07 01:15:46.766] W, [2021-10-07T01:15:46.749367 #12884]  WARN -- : MONGODB | Error running awaited hello on 516484f639-shard-00-00.80104.mongodb-qa.net:27016: Mongo::Error::SocketError: Errno::ECONNREFUSED: Connection refused - connect(2) for 18.213.18.186:27016 (for 18.213.18.186:27016 (516484f639-shard-00-00.80104.mongodb-qa.net:27016, TLS)) (on 516484f639-shard-00-00.80104.mongodb-qa.net:27016)
      [2021/10/07 01:15:46.766] W, [2021-10-07T01:15:46.750652 #12884]  WARN -- : MONGODB | Error running awaited hello on 516484f639-shard-00-00.80104.mongodb-qa.net:27016: Mongo::Error::SocketError: Errno::ECONNREFUSED: Connection refused - connect(2) for 18.213.18.186:27016 (for 18.213.18.186:27016 (516484f639-shard-00-00.80104.mongodb-qa.net:27016, TLS)) (on 516484f639-shard-00-00.80104.mongodb-qa.net:27016)
      [2021/10/07 01:15:46.766] W, [2021-10-07T01:15:46.752695 #12884]  WARN -- : MONGODB | Error running awaited hello on 516484f639-shard-00-00.80104.mongodb-qa.net:27016: Mongo::Error::SocketError: Errno::ECONNREFUSED: Connection refused - connect(2) for 18.213.18.186:27016 (for 18.213.18.186:27016 (516484f639-shard-00-00.80104.mongodb-qa.net:27016, TLS)) (on 516484f639-shard-00-00.80104.mongodb-qa.net:27016)
      [2021/10/07 01:15:46.766] W, [2021-10-07T01:15:46.754064 #12884]  WARN -- : MONGODB | Error running awaited hello on 516484f639-shard-00-00.80104.mongodb-qa.net:27016: Mongo::Error::SocketError: Errno::ECONNREFUSED: Connection refused - connect(2) for 18.213.18.186:27016 (for 18.213.18.186:27016 (516484f639-shard-00-00.80104.mongodb-qa.net:27016, TLS)) (on 516484f639-shard-00-00.80104.mongodb-qa.net:27016)
      [2021/10/07 01:15:46.766] W, [2021-10-07T01:15:46.755724 #12884]  WARN -- : MONGODB | Error running awaited hello on 516484f639-shard-00-00.80104.mongodb-qa.net:27016: Mongo::Error::SocketError: Errno::ECONNREFUSED: Connection refused - connect(2) for 18.213.18.186:27016 (for 18.213.18.186:27016 (516484f639-shard-00-00.80104.mongodb-qa.net:27016, TLS)) (on 516484f639-shard-00-00.80104.mongodb-qa.net:27016)
      [2021/10/07 01:15:46.766] W, [2021-10-07T01:15:46.757185 #12884]  WARN -- : MONGODB | Error running awaited hello on 516484f639-shard-00-00.80104.mongodb-qa.net:27016: Mongo::Error::SocketError: Errno::ECONNREFUSED: Connection refused - connect(2) for 18.213.18.186:27016 (for 18.213.18.186:27016 (516484f639-shard-00-00.80104.mongodb-qa.net:27016, TLS)) (on 516484f639-shard-00-00.80104.mongodb-qa.net:27016)
      [2021/10/07 01:15:46.766] W, [2021-10-07T01:15:46.758825 #12884]  WARN -- : MONGODB | Error running awaited hello on 516484f639-shard-00-00.80104.mongodb-qa.net:27016: Mongo::Error::SocketError: Errno::ECONNREFUSED: Connection refused - connect(2) for 18.213.18.186:27016 (for 18.213.18.186:27016 (516484f639-shard-00-00.80104.mongodb-qa.net:27016, TLS)) (on 516484f639-shard-00-00.80104.mongodb-qa.net:27016)
      [2021/10/07 01:15:46.766] W, [2021-10-07T01:15:46.760168 #12884]  WARN -- : MONGODB | Error running awaited hello on 516484f639-shard-00-00.80104.mongodb-qa.net:27016: Mongo::Error::SocketError: Errno::ECONNREFUSED: Connection refused - connect(2) for 18.213.18.186:27016 (for 18.213.18.186:27016 (516484f639-shard-00-00.80104.mongodb-qa.net:27016, TLS)) (on 516484f639-shard-00-00.80104.mongodb-qa.net:27016)
      [2021/10/07 01:15:46.766] W, [2021-10-07T01:15:46.762447 #12884]  WARN -- : MONGODB | Error running awaited hello on 516484f639-shard-00-00.80104.mongodb-qa.net:27016: Mongo::Error::SocketError: Errno::ECONNREFUSED: Connection refused - connect(2) for 18.213.18.186:27016 (for 18.213.18.186:27016 (516484f639-shard-00-00.80104.mongodb-qa.net:27016, TLS)) (on 516484f639-shard-00-00.80104.mongodb-qa.net:27016)
      

      I think they should be subject to the 500 ms minimum interval, same as regular monitor.

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: