Commit Graph

3944 Commits

Author SHA1 Message Date
Andreas Braun
6b8cda3b16 PHPC-1291: Add APM based tests for retryable reads 2019-08-20 09:23:09 +02:00
Andreas Braun
9ce12381b4 PHPC-1422: Raise an actionable error message when retryWrites fails due to using an unsupported storage engine 2019-08-20 09:23:09 +02:00
Andreas Braun
81ad6198d9 PHPC-1369: Upgrade libmongoc to 1.15.0 2019-08-20 09:23:09 +02:00
Andreas Braun
2353a566a3 Merge pull request #1007 2019-08-19 08:03:32 +02:00
Andreas Braun
fa5ce78d0f Fix tests for PHP 7.4 2019-08-13 14:07:57 +02:00
Andreas Braun
4a57494dca Use build stages and test PHP 7.4 2019-08-13 14:07:57 +02:00
Andreas Braun
36d4d68928 Merge pull request #1005 2019-08-13 06:42:58 +02:00
Andreas Braun
ea7489bf72 PHPC-1369: Update libmongoc to latest 1.15-dev 2019-08-12 07:49:29 +02:00
Andreas Braun
56497bdeb9 Merge pull request #1003 from alcaeus/phpc-1390
PHPC-1390: Add PHP 7.3 on AppVeyor
2019-08-05 14:39:03 +02:00
Andreas Braun
ce6974cf9d PHPC-1390: Add PHP 7.3 on AppVeyor 2019-08-05 09:46:22 +02:00
Andreas Braun
7e13e18fbc Merge pull request #999 2019-07-31 11:30:06 +02:00
Andreas Braun
f2765957b2 PHPC-1399: Test MongoDB 4.2 in Evergreen 2019-07-31 09:03:38 +02:00
Andreas Braun
6154821fa6 Merge pull request #1001 2019-07-31 07:44:13 +02:00
Andreas Braun
e5b1502f4d PHPC-1377: Remove support for PHP 5.5 2019-07-31 07:44:03 +02:00
Andreas Braun
2bb1894d9b Merge pull request #1000 2019-07-31 07:43:36 +02:00
Andreas Braun
5ea668e0b9 PHPC-1320: Regenerate test certificates with SHA256 signatures 2019-07-30 11:07:23 +02:00
Jeremy Mikola
bc991df21c Merge pull request #998 2019-07-30 14:57:03 +08:00
Jeremy Mikola
6481582b52 PHPC-1319: commitTransaction applies w:majority when retrying 2019-07-30 11:39:05 +08:00
Jeremy Mikola
3d83aeea67 Merge pull request #996 2019-07-23 09:39:14 -04:00
Jeremy Mikola
b47adb7f3f PHPC-1415: Disable retryWrites for sharded cluster without replica set
Without replica set shards, retryable writes cannot be used. It must be explicitly disabled because the driver cannot detect this by its direct communication with mongos nodes.
2019-07-23 09:38:17 -04:00
Jeremy Mikola
d0e4d89147 PHPC-1413: Disable retryWrites for tests inserting on secondary 2019-07-23 09:38:17 -04:00
Jeremy Mikola
9a52fcdf91 PHPC-1412: Disable retryWrites for tests using local DB
Additionally, we can use the generated collection name instead of "example".
2019-07-23 09:38:17 -04:00
Jeremy Mikola
8bc8be556f PHPC-1369: Upgrade libmongoc to 1.15-dev
Use int64_t API for wTimeoutMS. The initial commit for CDRIVER-3087 deprecated the int32_t API for wTimeoutMS. Migrate to the int64_t API to avoid deprecation warnings. Note: PHPC (and libmongoc's URI parsing) still require 32-bit values for wTimeoutMS, so this does not affect users. Having said that, PHPC-1411 may introduce support for 64-bit values and necessitate changes to the code where we read wTimeoutMS values.

Use mongoc_uri_get_tls to read tls/ssl URI option. As part of CDRIVER-2869, libmongoc deprecated mongoc_uri_get_ssl and introduced a "tls" alias. Migrate to the new API to avoid deprecation warnings.

Expect lowercase URI option in error. As part of CDRIVER-2869, libmongoc does case-folding on option keys to facilitate deduplication.
2019-07-23 09:38:17 -04:00
Jeremy Mikola
5875b8d46c Merge pull request #997 2019-07-22 16:38:18 -04:00
Jeremy Mikola
5f235387d9 PHPC-1414: Skip tests when mongo orchestration is not available 2019-07-22 11:56:14 -04:00
Jeremy Mikola
93141ed99a Update bug-report.md 2019-07-16 18:13:44 -04:00
Jeremy Mikola
237b31b9a9 Update footnotes in new issue template 2019-07-16 18:00:39 -04:00
Jeremy Mikola
7ea00d4a67 Merge pull request #995
Update issue templates
2019-07-16 17:58:38 -04:00
Jeremy Mikola
afd8f87a8e Update new issue template 2019-07-16 17:57:08 -04:00
Jeremy Mikola
8297c4bb3f Merge branch 'v1.5' 2019-06-10 16:07:42 -04:00
Jeremy Mikola
8b11fbbb67 Back to -dev 2019-06-10 16:07:18 -04:00
Jeremy Mikola
1e0329d454 Package 1.5.5 1.5.5 2019-06-10 16:06:53 -04:00
Jeremy Mikola
c24addf58c Merge branch 'v1.5' 2019-06-07 14:39:13 -04:00
Jeremy Mikola
d3ce76f919 Merge pull request #992 2019-06-07 14:38:22 -04:00
Jeremy Mikola
88d783a215 PHPC-1393: Free server description in sharded cluster check 2019-06-07 14:11:48 -04:00
Jeremy Mikola
a79002d8fa Merge pull request #991 from mongodb/jmikola-patch-1
Use EXPECTF for assertion with pattern match
2019-06-07 11:41:09 -04:00
Jeremy Mikola
119ec8ff8d Use EXPECTF for assertion with pattern match 2019-06-07 11:22:20 -04:00
Jeremy Mikola
d733298f6e Merge pull request #990 from jmikola/phpc-1392
PHPC-1392: Fix error assertion for server 3.0 through 3.4
2019-06-07 10:30:43 -04:00
Jeremy Mikola
e65c598833 PHPC-1392: Fix error assertion for server 3.0 through 3.4 2019-06-07 10:28:08 -04:00
Jeremy Mikola
095f93d9d0 Merge pull request #988 2019-06-04 13:57:56 -04:00
Jeremy Mikola
75080c3fe8 PHPC-1392: Bump socketTimeoutMS to avoid spurious failure 2019-06-04 10:20:06 -04:00
Jeremy Mikola
c3be2cde1d Back to -dev 2019-06-03 15:40:59 -04:00
Jeremy Mikola
f164a50714 Package 1.6.0alpha2 1.6.0alpha2 2019-06-03 15:39:23 -04:00
Jeremy Mikola
f4043e3003 Merge pull request #987 from jmikola/phpc-1364
PHPC-1364: Include LIBMONGOC_VERSION_CURRENT in PECL package
2019-06-03 15:36:21 -04:00
Jeremy Mikola
2895669025 PHPC-1364: Include LIBMONGOC_VERSION_CURRENT in PECL package 2019-06-03 15:35:23 -04:00
Jeremy Mikola
9cdbfec283 Merge branch 'v1.5' 2019-06-03 13:54:58 -04:00
Jeremy Mikola
66d667dbd5 Back to -dev 2019-06-03 13:54:07 -04:00
Jeremy Mikola
73295aa2ff Package 1.5.4 1.5.4 2019-06-03 13:53:02 -04:00
Jeremy Mikola
66ab6c3ceb Merge branch 'v1.5' 2019-06-03 11:32:18 -04:00
Jeremy Mikola
176d6bd5d4 Merge pull request #984 2019-06-03 11:32:01 -04:00