Commit Graph

13872 Commits

Author SHA1 Message Date
Lukas Joswiak f6f53c7a73 Style updates 2021-01-20 13:57:36 -08:00
Lukas Joswiak e8397b3812 Move UDP listen port to knob 2021-01-20 13:57:36 -08:00
Lukas Joswiak 8cc55a3ed5 Fix merge issues 2021-01-20 13:57:36 -08:00
Lukas Joswiak e8038cd2c1 Remove debug code 2021-01-20 13:57:36 -08:00
Lukas Joswiak de8bf9f6cf Write span context as separate 64-bit ints 2021-01-20 13:57:36 -08:00
Lukas Joswiak ecdb96a7b9 Add IP address and port to serialized spans 2021-01-20 13:57:36 -08:00
Lukas Joswiak 98e6ba6962 Add POSIX send functionality 2021-01-20 13:57:36 -08:00
Lukas Joswiak 13858a853c Backoff future send attempts if a send failure occurs 2021-01-20 13:57:36 -08:00
Lukas Joswiak d2143f184a Add fast UDP tracer 2021-01-20 13:57:36 -08:00
Lukas Joswiak 4ea5267bfd Add TEST macro 2021-01-20 13:57:36 -08:00
Lukas Joswiak 6800a4dcb3 Fix incorrect simulation check for first byte
The array representing fields of the Span can be size 4 or 5, depending
on whether the Span has any parents or not.
2021-01-20 13:57:36 -08:00
Lukas Joswiak 3c11b4b1bd Cleanup 2021-01-20 13:57:36 -08:00
Lukas Joswiak 3132c38bff Rename fluentd -> UDP 2021-01-20 13:57:36 -08:00
Lukas Joswiak 069d75b6f2 Update format of serialized spans
Write span context as a string instead of as two 64-bit integers. Also
removes some debug code.
2021-01-20 13:57:36 -08:00
Lukas Joswiak abedd7a147 Fix msgpack array size format
Was being written in little-endian, should be written in big-endian.
2021-01-20 13:57:36 -08:00
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