/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/client/ |
H A D | replica_set_monitor_node_test.cpp | 180 ASSERT(isCompatible(node, mongo::ReadPreference::PrimaryPreferred, tags)); in TEST() 200 ASSERT(isCompatible(node, mongo::ReadPreference::PrimaryPreferred, tags)); in TEST() 220 ASSERT(isCompatible(node, mongo::ReadPreference::PrimaryPreferred, tags)); in TEST() 240 ASSERT(!isCompatible(node, mongo::ReadPreference::PrimaryPreferred, tags)); in TEST() 264 ASSERT(isCompatible(node, mongo::ReadPreference::PrimaryPreferred, tags)); in TEST() 288 ASSERT(isCompatible(node, mongo::ReadPreference::PrimaryPreferred, tags)); in TEST() 312 ASSERT(isCompatible(node, mongo::ReadPreference::PrimaryPreferred, tags)); in TEST() 336 ASSERT(!isCompatible(node, mongo::ReadPreference::PrimaryPreferred, tags)); in TEST()
|
H A D | replica_set_monitor_read_preference_test.cpp | 178 selectNode(nodes, mongo::ReadPreference::PrimaryPreferred, tags, 1, &isPrimarySelected); in TEST() 192 selectNode(nodes, mongo::ReadPreference::PrimaryPreferred, tags, 1, &isPrimarySelected); in TEST() 324 selectNode(nodes, mongo::ReadPreference::PrimaryPreferred, tags, 3, &isPrimarySelected); in TEST() 336 selectNode(nodes, mongo::ReadPreference::PrimaryPreferred, tags, 3, &isPrimarySelected); in TEST() 350 selectNode(nodes, mongo::ReadPreference::PrimaryPreferred, tags, 3, &isPrimarySelected); in TEST() 604 mongo::ReadPreference::PrimaryPreferred, in TEST_F() 621 mongo::ReadPreference::PrimaryPreferred, in TEST_F() 637 mongo::ReadPreference::PrimaryPreferred, in TEST_F() 654 mongo::ReadPreference::PrimaryPreferred, in TEST_F() 670 mongo::ReadPreference::PrimaryPreferred, in TEST_F() [all …]
|
H A D | dbclient_rs_test.cpp | 169 query.readPref(mongo::ReadPreference::PrimaryPreferred, BSONArray()); in TEST_F() 178 assertNodeSelected(getReplSet(), ReadPreference::PrimaryPreferred, getReplSet()->getPrimary()); in TEST_F() 276 query.readPref(mongo::ReadPreference::PrimaryPreferred, BSONArray()); in TEST_F() 281 assertRunCommandWithReadPrefThrows(getReplSet(), ReadPreference::PrimaryPreferred); in TEST_F() 374 query.readPref(mongo::ReadPreference::PrimaryPreferred, BSONArray()); in TEST_F() 384 getReplSet(), ReadPreference::PrimaryPreferred, getReplSet()->getSecondaries()); in TEST_F() 480 query.readPref(mongo::ReadPreference::PrimaryPreferred, BSONArray()); in TEST_F() 659 query.readPref(mongo::ReadPreference::PrimaryPreferred, BSONArray()); in TEST_F() 669 query.readPref(mongo::ReadPreference::PrimaryPreferred, BSONArray()); in TEST_F() 687 query.readPref(mongo::ReadPreference::PrimaryPreferred, BSONArray()); in TEST_F() [all …]
|
/dports/databases/pymongo/pymongo-3.12.0/test/ |
H A D | test_read_preferences.py | 32 Primary, PrimaryPreferred, 72 PrimaryPreferred(), 343 (PrimaryPreferred, SERVER_TYPE.RSPrimary), 498 pref = PrimaryPreferred() 502 pref = PrimaryPreferred(tag_sets=[{'dc': 'sf'}]) 506 pref = PrimaryPreferred( 573 'primaryPreferred': PrimaryPreferred, 618 'primaryPreferred': PrimaryPreferred, 645 pref = PrimaryPreferred() 649 pref = PrimaryPreferred(tag_sets=[{'dc': 'nyc'}]) [all …]
|
/dports/databases/pymongo/pymongo-3.12.0/pymongo/ |
H A D | read_preferences.py | 261 class PrimaryPreferred(_ServerMode): class 292 super(PrimaryPreferred, self).__init__( 426 _ALL_READ_PREFERENCES = (Primary, PrimaryPreferred, 502 PRIMARY_PREFERRED = PrimaryPreferred()
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/s/catalog/ |
H A D | sharding_catalog_create_database_test.cpp | 118 ReadPreferenceSetting(ReadPreference::PrimaryPreferred).toContainingBSON(), in TEST_F() 133 ReadPreferenceSetting(ReadPreference::PrimaryPreferred).toContainingBSON(), in TEST_F() 147 ReadPreferenceSetting(ReadPreference::PrimaryPreferred).toContainingBSON(), in TEST_F()
|
/dports/net-mgmt/semaphore/semaphore-2.6.8/vendor/go.mongodb.org/mongo-driver/mongo/readpref/ |
H A D | readpref_test.go | 30 subject := PrimaryPreferred() 40 subject := PrimaryPreferred(
|
/dports/net-mgmt/thanos/thanos-0.11.0/vendor/go.mongodb.org/mongo-driver/mongo/readpref/ |
H A D | readpref_test.go | 30 subject := PrimaryPreferred() 40 subject := PrimaryPreferred(
|
/dports/databases/p5-MongoDB/MongoDB-v2.2.2/t/data/SS/server_selection/Sharded/read/ |
H A D | PrimaryPreferred.yml | 14 mode: PrimaryPreferred
|
/dports/databases/p5-MongoDB/MongoDB-v2.2.2/t/data/SS/server_selection/Sharded/write/ |
H A D | PrimaryPreferred.yml | 14 mode: PrimaryPreferred
|
/dports/databases/p5-MongoDB/MongoDB-v2.2.2/t/data/SS/server_selection/ReplicaSetNoPrimary/read/ |
H A D | PrimaryPreferred.yml | 18 mode: PrimaryPreferred
|
H A D | PrimaryPreferred_non_matching.yml | 16 mode: PrimaryPreferred
|
/dports/security/vault/vault-1.8.2/vendor/go.mongodb.org/mongo-driver/data/server-selection/server_selection/ReplicaSetNoPrimary/read/ |
H A D | PrimaryPreferred.yml | 18 mode: PrimaryPreferred
|
H A D | PrimaryPreferred_non_matching.yml | 16 mode: PrimaryPreferred
|
/dports/net-mgmt/semaphore/semaphore-2.6.8/vendor/go.mongodb.org/mongo-driver/data/server-selection/server_selection/ReplicaSetNoPrimary/read/ |
H A D | PrimaryPreferred.yml | 18 mode: PrimaryPreferred
|
H A D | PrimaryPreferred_non_matching.yml | 16 mode: PrimaryPreferred
|
/dports/www/grafana8/grafana-8.3.6/vendor/go.mongodb.org/mongo-driver/data/server-selection/server_selection/ReplicaSetNoPrimary/read/ |
H A D | PrimaryPreferred.yml | 18 mode: PrimaryPreferred
|
H A D | PrimaryPreferred_non_matching.yml | 16 mode: PrimaryPreferred
|
/dports/net-mgmt/thanos/thanos-0.11.0/vendor/go.mongodb.org/mongo-driver/data/server-selection/server_selection/ReplicaSetNoPrimary/read/ |
H A D | PrimaryPreferred.yml | 18 mode: PrimaryPreferred
|
H A D | PrimaryPreferred_non_matching.yml | 16 mode: PrimaryPreferred
|
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/go.mongodb.org/mongo-driver/data/server-selection/server_selection/ReplicaSetNoPrimary/read/ |
H A D | PrimaryPreferred.yml | 18 mode: PrimaryPreferred
|
H A D | PrimaryPreferred_non_matching.yml | 16 mode: PrimaryPreferred
|
/dports/databases/mongodb42-tools/mongo-tools-r4.2.17/vendor/go.mongodb.org/mongo-driver/data/server-selection/server_selection/ReplicaSetNoPrimary/read/ |
H A D | PrimaryPreferred.yml | 18 mode: PrimaryPreferred
|
H A D | PrimaryPreferred_non_matching.yml | 16 mode: PrimaryPreferred
|
/dports/databases/p5-MongoDB/MongoDB-v2.2.2/t/data/SS/server_selection/ReplicaSetWithPrimary/read/ |
H A D | PrimaryPreferred.yml | 22 mode: PrimaryPreferred
|