File tree Expand file tree Collapse file tree 3 files changed +7
-36
lines changed Expand file tree Collapse file tree 3 files changed +7
-36
lines changed Original file line number Diff line number Diff line change @@ -63,10 +63,7 @@ object(MongoDB\Driver\Cursor)#%d (%d) {
63
63
["readPreference"]=>
64
64
object(MongoDB\Driver\ReadPreference)#%d (%d) {
65
65
["mode"]=>
66
- int(1)
67
- ["tags"]=>
68
- array(0) {
69
- }
66
+ string(7) "primary"
70
67
}
71
68
["isDead"]=>
72
69
bool(true)
@@ -112,10 +109,7 @@ object(MongoDB\Driver\Cursor)#%d (%d) {
112
109
["readPreference"]=>
113
110
object(MongoDB\Driver\ReadPreference)#%d (%d) {
114
111
["mode"]=>
115
- int(5)
116
- ["tags"]=>
117
- array(0) {
118
- }
112
+ string(16) "primaryPreferred"
119
113
}
120
114
["isDead"]=>
121
115
bool(true)
@@ -161,10 +155,7 @@ object(MongoDB\Driver\Cursor)#%d (%d) {
161
155
["readPreference"]=>
162
156
object(MongoDB\Driver\ReadPreference)#%d (%d) {
163
157
["mode"]=>
164
- int(2)
165
- ["tags"]=>
166
- array(0) {
167
- }
158
+ string(9) "secondary"
168
159
}
169
160
["isDead"]=>
170
161
bool(true)
@@ -210,10 +201,7 @@ object(MongoDB\Driver\Cursor)#%d (%d) {
210
201
["readPreference"]=>
211
202
object(MongoDB\Driver\ReadPreference)#%d (%d) {
212
203
["mode"]=>
213
- int(6)
214
- ["tags"]=>
215
- array(0) {
216
- }
204
+ string(18) "secondaryPreferred"
217
205
}
218
206
["isDead"]=>
219
207
bool(true)
@@ -259,10 +247,7 @@ object(MongoDB\Driver\Cursor)#%d (%d) {
259
247
["readPreference"]=>
260
248
object(MongoDB\Driver\ReadPreference)#%d (%d) {
261
249
["mode"]=>
262
- int(10)
263
- ["tags"]=>
264
- array(0) {
265
- }
250
+ string(7) "nearest"
266
251
}
267
252
["isDead"]=>
268
253
bool(true)
Original file line number Diff line number Diff line change @@ -79,15 +79,7 @@ object(MongoDB\Driver\WriteResult)#%d (%d) {
79
79
["writeConcernError"]=>
80
80
NULL
81
81
["writeConcern"]=>
82
- array(%d) {
83
- ["w"]=>
84
- NULL
85
- ["wmajority"]=>
86
- bool(false)
87
- ["wtimeout"]=>
88
- int(0)
89
- ["journal"]=>
90
- NULL
82
+ array(0) {
91
83
}
92
84
}
93
85
string(14) "192.168.112.10"
Original file line number Diff line number Diff line change @@ -100,15 +100,9 @@ object(MongoDB\Driver\WriteResult)#%d (%d) {
100
100
string(29) "Not enough data-bearing nodes"
101
101
}
102
102
["writeConcern"]=>
103
- array(4 ) {
103
+ array(1 ) {
104
104
["w"]=>
105
105
int(30)
106
- ["wmajority"]=>
107
- bool(false)
108
- ["wtimeout"]=>
109
- int(0)
110
- ["journal"]=>
111
- NULL
112
106
}
113
107
}
114
108
===DONE===
You can’t perform that action at this time.
0 commit comments