-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit 65039a6 Author: jianminzhao <[email protected]> Date: Mon Sep 9 10:32:29 2024 -0700 CBL-6156: Support Inner Unnest Query in JSON (#2131) Added tests for multiple indexes, multi-leveled index, index with N1QL expression. commit 163b832 Author: Pasin Suriyentrakorn <[email protected]> Date: Tue Aug 27 22:23:06 2024 -0700 CBL-6193 : Fix address conversion for request when using proxy (#2127) * Fixed crash when converting from address (Address) to C4Address by using the cast operator instead of casting the pointer which is not valid anymore due to the change in private variables. * When creating an address object, used the path not full url for the path. commit 0b30e0c Author: jianminzhao <[email protected]> Date: Tue Jul 30 16:03:59 2024 -0700 CBL-6120: Provide an option to enable full sync in the database (#2113) Added a flag to C4DatabaseFlags, kC4DB_DiskSyncFull. This flag is passed to DataFile::Options, which is used as we request a connection to the SQLite database. commit 2bdccb1 Author: jianminzhao <[email protected]> Date: Tue Jul 30 08:56:04 2024 -0700 CBL-6100: Flaky test "REST root level" (#2110) Allow several timeouts to the HTTP Request. For now, allowing 4 timeouts with each timeout being 5 seconds. commit 0e613ae Author: jianminzhao <[email protected]> Date: Tue Jul 30 08:55:35 2024 -0700 CBL-6104: Flaky test, "Multiple Collections Incremental Revisions" (#2112) The reason the test occasionally fails because we assumeed that successive revisions all get replicated to the destinations, whereas replicator may skip obsolete revision, say rev-2, when rev-3 exists when the pusher turns to find the revisions to push. In our test case, we create successive revisions in intervals of 500 milliseconds. Most time, 500 ms is enough to set apart when the pusher picks the revisions. On Jenkins machine, the log shows that it found obsolete revisions when the test failed. We modified the test success criteria: we only check that the latest revisions are replicated to the destination. This is the designed behavior. commit fb01661 Author: jianminzhao <[email protected]> Date: Mon Jul 29 16:43:14 2024 -0700 CBL-6099: Test "Rapid Restarts" failing frequently on Linux (#2111) After the replicator is stopped, it may still take some time to wind down objects Our test currently allows 2 seconds for it. This turns out not enough in situation when there are following errors, Sync ERROR Obj=/Repl#21/revfinder#26/ Got LiteCore error: LiteCore NotOpen, "database not open" This error is artificial. It is because we close the database as soon as the replicator goes to stopped, as opposed to when the replicator is deleted. The error follows the exception to the top frame and takes substantial time when there are many of them. I increased 2 seconds allowance to 20 seconds. We won't always wait for 20 seconds, because the waiter polls the condition every 50ms. A situation of actual memory leak will wait for whole 20 seconds before failure.
- Loading branch information
1 parent
8009302
commit cc7ce8e
Showing
11 changed files
with
119 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{"type":"university","name":"Univ of Michigan","students":[{"id":"student_112","class":"3","order":"1","interests":["violin","baseball"]},{"id":"student_189","class":"2","order":"5","interests":["violin","tennis"]},{"id":"student_1209","class":"3","order":"15","interests":["art","writing"]}]} | ||
{"type":"university","name":"Univ of Pennsylvania","students":[{"id":"student_112","class":"3","order":"1","interests":["piano","swimming"]},{"id":"student_189","class":"2","order":"5","interests":["violin","movies"]}]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{"type":"university","name":"Univ of Michigan","students":[{"id":"student_112","class":"3","order":"1","extra":{"interests":["violin","baseball"]}},{"id":"student_189","class":"2","order":"5","extra":{"interests":["violin","tennis"]}},{"id":"student_1209","class":"3","order":"15","extra":{"interests":["art","writing"]}}]} | ||
{"type":"university","name":"Univ of Pennsylvania","students":[{"id":"student_112","class":"3","order":"1","extra":{"interests":["piano","swimming"]}},{"id":"student_189","class":"2","order":"5","extra":{"interests":["violin","movies"]}}]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters