Home
last modified time | relevance | path

Searched refs:PrimaryPreferred (Results 1 – 25 of 212) sorted by relevance

123456789

/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/client/
H A Dreplica_set_monitor_node_test.cpp180 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 Dreplica_set_monitor_read_preference_test.cpp178 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 Ddbclient_rs_test.cpp169 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 Dtest_read_preferences.py32 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 Dread_preferences.py261 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 Dsharding_catalog_create_database_test.cpp118 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 Dreadpref_test.go30 subject := PrimaryPreferred()
40 subject := PrimaryPreferred(
/dports/net-mgmt/thanos/thanos-0.11.0/vendor/go.mongodb.org/mongo-driver/mongo/readpref/
H A Dreadpref_test.go30 subject := PrimaryPreferred()
40 subject := PrimaryPreferred(
/dports/databases/p5-MongoDB/MongoDB-v2.2.2/t/data/SS/server_selection/Sharded/read/
H A DPrimaryPreferred.yml14 mode: PrimaryPreferred
/dports/databases/p5-MongoDB/MongoDB-v2.2.2/t/data/SS/server_selection/Sharded/write/
H A DPrimaryPreferred.yml14 mode: PrimaryPreferred
/dports/databases/p5-MongoDB/MongoDB-v2.2.2/t/data/SS/server_selection/ReplicaSetNoPrimary/read/
H A DPrimaryPreferred.yml18 mode: PrimaryPreferred
H A DPrimaryPreferred_non_matching.yml16 mode: PrimaryPreferred
/dports/security/vault/vault-1.8.2/vendor/go.mongodb.org/mongo-driver/data/server-selection/server_selection/ReplicaSetNoPrimary/read/
H A DPrimaryPreferred.yml18 mode: PrimaryPreferred
H A DPrimaryPreferred_non_matching.yml16 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 DPrimaryPreferred.yml18 mode: PrimaryPreferred
H A DPrimaryPreferred_non_matching.yml16 mode: PrimaryPreferred
/dports/www/grafana8/grafana-8.3.6/vendor/go.mongodb.org/mongo-driver/data/server-selection/server_selection/ReplicaSetNoPrimary/read/
H A DPrimaryPreferred.yml18 mode: PrimaryPreferred
H A DPrimaryPreferred_non_matching.yml16 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 DPrimaryPreferred.yml18 mode: PrimaryPreferred
H A DPrimaryPreferred_non_matching.yml16 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 DPrimaryPreferred.yml18 mode: PrimaryPreferred
H A DPrimaryPreferred_non_matching.yml16 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 DPrimaryPreferred.yml18 mode: PrimaryPreferred
H A DPrimaryPreferred_non_matching.yml16 mode: PrimaryPreferred
/dports/databases/p5-MongoDB/MongoDB-v2.2.2/t/data/SS/server_selection/ReplicaSetWithPrimary/read/
H A DPrimaryPreferred.yml22 mode: PrimaryPreferred

123456789