Commit Graph

13802 Commits

Author SHA1 Message Date
Jingyu Zhou b8ff724232
Merge pull request #4173 from sfc-gh-anoyes/anoyes/fdb-c89-test
Make sure that fdb_c.h is c90 compliant
2021-01-19 10:42:40 -08:00
Lukas Joswiak 2c4b5acd28 Add help option back to actions 2021-01-19 10:33:55 -08:00
Andrew Noyes 45f064c420 Take keyRange by const reference 2021-01-19 16:49:48 +00:00
Markus Pilman 9931ffbfdb
Merge pull request #4212 from sfc-gh-satherton/improve-sqlite-fault-injection
Rewrote SQLite injected fault handling
2021-01-18 18:29:15 -07:00
Steve Atherton 11927f6fff Another refactor of SQLite injected error handling to address failures of the previous attempt. Some code cleanup. Added documentation of injected error handling works and why. 2021-01-17 04:17:13 -08:00
Steve Atherton f1adafaf8c Refactored how injected fault state is managed to make debugging injected fault handling easier. Moved injected error tracking for open() into an INetwork global since it should be unique per simulated process. Fixed bug where injected error in WAL file was not recognized as injected because it occurred before SQLiteDB's vfsWAL pointer was initialized. Simplified logic in SQLiteDB. Added comments. 2021-01-16 05:04:30 -08:00
Steve Atherton 8df6874417 Bug fixes: Check for null pager and wal pointers, and initialize vfsWAL after SQLite has opened the WAL. 2021-01-15 21:13:31 -08:00
Steve Atherton 6da78b1b19 Rewrote how injected faults are handled in SQLite to be more reliable and work with an upcoming write throttling feature in AsyncFileCached. 2021-01-15 19:29:14 -08:00
Lukas Joswiak d82b61ee0f Update help message for top level options 2021-01-15 17:05:11 -08:00
Lukas Joswiak 1177183819 Copy help option to top level 2021-01-15 17:05:11 -08:00
Lukas Joswiak 14b08e1103 Add top level binary CLI options 2021-01-15 17:05:10 -08:00
Andrew Noyes a5d6c96875 Fix heap use after free
See
https://github.com/apple/foundationdb/blob/master/flow/README.md#arenas
for an explanation of how *Ref types are supposed to work
2021-01-16 01:04:28 +00:00
Andrew Noyes 58e8a9ac73 Remove MasterProxyServer.actor.cpp (it was renamed) 2021-01-15 23:35:20 +00:00
Andrew Noyes c101c6ec0c Resolve last conflict 2021-01-15 21:51:25 +00:00
Andrew Noyes 5743fe724c Restore buffering logic lost to botched merge 2021-01-15 20:10:39 +00:00
Andrew Noyes dadc4d1b21 Initialize m_offset 2021-01-15 19:56:28 +00:00
Andrew Noyes b0f61fb74f Resolve the simple-looking conflicts 2021-01-15 19:35:10 +00:00
Andrew Noyes ff7d306b09 Merge branch 'release-6.3' into anoyes/merge-6.3-to-master
Include conflict markers for now. Will resolve.
2021-01-15 18:04:09 +00:00
Markus Pilman 9bca167cc2
Merge pull request #4205 from sfc-gh-anoyes/anoyes/merge-release-6.2
Merge release 6.2 into release 6.3
2021-01-15 10:55:41 -07:00
Andrew Noyes 56f46d0645
Merge pull request #4094 from sfc-gh-clin/add-c-function-for-management-commands
Add c function for kill/suspend
2021-01-15 09:45:16 -08:00
Andrew Noyes 13afadfae4 Use c90 compatibility for clarity 2021-01-15 02:50:34 +00:00
Chaoguang Lin 8ce9bd4e8e Merge branch 'master' of github.com:apple/foundationdb into add-c-function-for-management-commands 2021-01-14 17:31:26 -08:00
Chaoguang Lin d25b8664e7 clang-format, remove header added by IDE 2021-01-14 17:31:13 -08:00
Chaoguang Lin a44fa7bfe6 Remove unnecessary rapidjson download 2021-01-14 17:17:12 -08:00
Andrew Noyes ddb5b0b050 Backport correctness package 2021-01-15 00:34:47 +00:00
Andrew Noyes e32a0fb742 Resolve conflicts 2021-01-14 20:13:29 +00:00
Andrew Noyes 6d6b2843da Merge remote-tracking branch 'upstream/release-6.2' into anoyes/merge-release-6.2
I'm including the conflict markers for now and I'll resolve them in a
subsequent commit
2021-01-14 17:20:11 +00:00
sfc-gh-tclinkenbeard 95eaa5e866 Merge remote-tracking branch 'origin/master' into misc-changes 2021-01-13 21:14:36 -08:00
Chaoguang Lin 87b4463305 Solve comments: update c api description; refine code 2021-01-13 14:56:41 -08:00
Markus Pilman fe71ef88c3
Merge pull request #4199 from sfc-gh-satherton/file-backup-write-buffering
Add write buffering to BackupContainerLocalDirectory::BackupFile
2021-01-13 12:23:57 -07:00
Markus Pilman 2a24857cfa
Merge pull request #4182 from skunkwerks/fix/avoid-preprocesor-clash
build: don't clash with FreeBSD native defines
2021-01-12 10:33:21 -07:00
Markus Pilman 2609c3d619
Merge pull request #4072 from sfc-gh-tclinkenbeard/improve-type-safety
Make enums automatically binary serializable
2021-01-12 10:31:34 -07:00
Markus Pilman 0bb3932005
Merge pull request #4183 from skunkwerks/fix/handle-missing-freebsd
flow: fix ifdef fall-through on FreeBSD
2021-01-12 10:07:43 -07:00
Evan Tschannen e57b5678a2
Merge pull request #4187 from sfc-gh-jfu/jfu-document-xff
Adding more documentation to system keys
2021-01-11 13:25:27 -08:00
Steve Atherton a860778b51 Add write buffering to BackupContainerLocalDirectory::BackupFile to greatly reduce the number of IAsyncFile::write() calls made when writing backup data. The buffer size is controlled by a knob. 2021-01-09 07:57:48 -08:00
Andrew Noyes a1bd28ac46
Merge pull request #4188 from sfc-gh-ajbeamon/client-count-status-requests
Add a counter for the number of status requests made by a client
2021-01-08 16:59:53 -08:00
Jingyu Zhou 3b0dbe2803
Merge pull request #4196 from bnamasivayam/post-release-cleanup-6.3.10
Post release cleanup 6.3.10
2021-01-07 08:56:17 -08:00
Markus Pilman f28fb40324
Merge pull request #4193 from sfc-gh-anoyes/anoyes/remove-no-unused-value
Remove -Wno-unused-value
2021-01-07 09:14:14 -07:00
Balachandar Namasivayam 73233d778d update installer WIX GUID following release 2021-01-06 23:29:57 -08:00
Balachandar Namasivayam 74c6427e6e update version to 6.3.11 2021-01-06 23:29:57 -08:00
Jon Fu fbcc85843f clarify comment for serverKeys possible values 2021-01-06 17:15:31 -05:00
Andrew Noyes e2e9b70206 Remove -Wno-unused-value 2021-01-06 22:09:38 +00:00
Jingyu Zhou a461b9c93b
Merge pull request #4191 from bnamasivayam/patch-release
Update downloads and release notes for 6.3.10
2021-01-06 13:09:19 -08:00
Evan Tschannen fe281032d1
Merge pull request #4189 from sfc-gh-satherton/feature-redwood
Feature redwood
2021-01-06 12:26:45 -08:00
Balachandar Namasivayam 97a4637b52 Update downloads and release notes for 6.3.10 2021-01-06 11:54:18 -08:00
Chaoguang Lin 3fb056e9fe Revert "Let rapidjson as a module in cmake"
This reverts commit 5ffb280aad.
2021-01-05 23:53:42 -08:00
Steve Atherton 2ce967bd77 Merge branch 'release-6.3' of github.com:apple/foundationdb into feature-redwood 2021-01-05 21:34:26 -08:00
Steve Atherton 4c28341351 Performance bug fix: Every page cache hit was calling forwardError() unnecessarily. 2021-01-05 21:34:16 -08:00
Balachandar Namasivayam 43a79a34ff
Merge pull request #4175 from vishesh/task/document
Docs, fix and hack for Fault Tolerance
2021-01-05 15:46:45 -08:00
Vishesh Yadav 31cc888562 Make fault_tolerance_without_losing data consistent with 6.2 in HA.
Don't consider satellites for now. This is a HACK which needs to be fixed
soon, but for now need this to keep the monitoring sane.
2021-01-05 13:53:48 -08:00