Commit Graph

13857 Commits

Author SHA1 Message Date
Lukas Joswiak e2f57b0845 Modify trace calls 2021-01-20 13:57:36 -08:00
Lukas Joswiak 45699f82be Abandon sending traces after first failed attempt 2021-01-20 13:57:36 -08:00
Lukas Joswiak cfba197302 Catch errors around async_send 2021-01-20 13:57:36 -08:00
Lukas Joswiak 3b8a84a153 Add per-test buffers created trace 2021-01-20 13:57:36 -08:00
Lukas Joswiak aa16ea6024 Add additional trace calls 2021-01-20 13:57:36 -08:00
Lukas Joswiak b3879d7919 Remove actor ready assertions 2021-01-20 13:57:35 -08:00
Lukas Joswiak 753bdd235e Add UDP server to check received packets in simulation 2021-01-20 13:57:35 -08:00
Lukas Joswiak 96029ca08f Serialize span as array instead of as map 2021-01-20 13:57:35 -08:00
Lukas Joswiak add80be134 Add support for arrays with up to 65535 elements 2021-01-20 13:57:35 -08:00
Lukas Joswiak 55746506c2 Log queue size every couple seconds 2021-01-20 13:57:35 -08:00
Lukas Joswiak d473735f06 Fix gcc compilation issue 2021-01-20 13:57:35 -08:00
Lukas Joswiak 1313de15b8 Fix bug with incorrect parent container size 2021-01-20 13:57:35 -08:00
Lukas Joswiak 1961c3fc80 Serialize spans to msgpack and send via UDP 2021-01-20 13:57:35 -08:00
Markus Pilman 6b6156a882
Merge pull request #4206 from sfc-gh-anoyes/anoyes/add-correctness-package
Backport correctness package
2021-01-20 12:10:06 -07:00
Kao Makino 4ddf3385a8 Reserve the priority queue container 2021-01-20 10:34:48 -08:00
Xin Dong 30962551d5 Also log when the LB is re-enabled. Attach the FetchKeysID. 2021-01-19 13:37:36 -08:00
Xin Dong 5bc129a35f Add a SevWarnAlways trace line to help debug a rare failure. 2021-01-19 13:33:15 -08:00
Xiaoge Su 297b9cc7dd
Merge pull request #4211 from sfc-gh-anoyes/anoyes/fix-memory-error
Fix heap use after free
2021-01-19 13:12:05 -08:00
Lukas Joswiak f011af14bc Add build flags option to fdbdecode binary 2021-01-19 11:21:21 -08:00
Lukas Joswiak b7758cd6b4 Add build flags option to fdbconvert binary 2021-01-19 11:21:21 -08:00
Lukas Joswiak 39c6cedf10 Add build flags option to backup binaries 2021-01-19 11:21:21 -08:00
Lukas Joswiak 9fd71cd1a0 Add build flags option to fdbcli 2021-01-19 11:21:21 -08:00
Lukas Joswiak 7c9070df39 Fix macOS compilation issue 2021-01-19 11:21:21 -08:00
Lukas Joswiak 88f8145dec Add CLI option to get build information 2021-01-19 11:21:21 -08:00
Trevor Clinkenbeard 66c2423d79
Merge pull request #3771 from sfc-gh-ljoswiak/backup-cli-fix
Add top level CLI options to backup binaries
2021-01-19 11:12:46 -08:00
Steve Atherton 6fb61ca2bc
Merge pull request #4207 from sfc-gh-anoyes/anoyes/merge-6.3-to-master
Merge 6.3 into master
2021-01-19 10:43:34 -08:00
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
Xin Dong 83506cda87 Log SevError instead of SevWarnAlways when all replicas of some data are lost. 2021-01-15 15:00:48 -08: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