Commit Graph

3959 Commits

Author SHA1 Message Date
mpilman f79a9594c1 Several bugfixes to make fdb build on non-ide 2019-02-19 15:16:59 -08:00
mpilman 6c1f64ed22 Fixed c binding tests for IDE 2019-02-19 15:16:59 -08:00
mpilman 999ea09bfd Use correct fwd decls in TesterInterface
Also TesterInterface.h -> TesterInterface.actor.h
2019-02-19 15:16:59 -08:00
mpilman 699216f713 Use fwd decls in workloads
Also workloads.h -> workloads.actor.h
2019-02-19 15:16:59 -08:00
mpilman 3f0fd2a20c Use fwd decls in WorkerInterface
Also WorkerInterface.h -> WorkerInterface.actor.h
2019-02-19 15:16:59 -08:00
mpilman 27a3153719 Use ACTOR forward declarations in MoveKeys
Also MoveKeys.h -> MoveKeys.actor.h
2019-02-19 15:16:59 -08:00
mpilman 3a0f9839b9 Fix minor IDE build errors 2019-02-19 15:16:59 -08:00
mpilman 9b14aeb156 Tell cmake not to link/install on ide build 2019-02-19 15:16:59 -08:00
mpilman 7fa7db3251 Minor bug fix - fdbclient now compiling 2019-02-19 15:16:59 -08:00
mpilman 0bb60e5a3b Use proper fwd decl in NativeAPI
Also NativeAPI.h -> NativeAPI.actor.h
2019-02-19 15:16:59 -08:00
mpilman c1592b4c3a Several minor fixes within fdbclient 2019-02-19 15:16:59 -08:00
mpilman 70e089e791 Define THIS_ADDR for use with intellisense
this is undefined within ACTORs if compiled with
intellisense. We use a macro here to make sure just
replaces this with 0
2019-02-19 15:16:59 -08:00
mpilman 78dd80ea8a Proper fwd decl in BackupAgent
Also BackupAgent.h -> BackupAgent.actor.h
2019-02-19 15:16:59 -08:00
mpilman 3cb2391b58 use proper fwd declarations in ManagementAPI
Also ManagementAPI.h -> ManagementAPI.actor.h
2019-02-19 15:16:59 -08:00
mpilman 479a4d7c22 Minor fixes in fdbclient for intellisense 2019-02-19 15:16:59 -08:00
mpilman f14dee764b Use fwd decl for connectionReader - fdbrpc compiling 2019-02-19 15:16:59 -08:00
mpilman 3bd9b9047b Minor fixes - flow now compiling with intellisense 2019-02-19 15:16:59 -08:00
mpilman 2c16475906 Added a general copy-constructor for intellisense
If a actor returns something of a different type that is
assignable, it will work because the actor compiler will
compile this to an assignment. However, if you compile
without the actor compiler, this will fail.
2019-02-19 15:16:59 -08:00
mpilman eb8285f14f Add mock description for actors for intellisense 2019-02-19 15:16:59 -08:00
mpilman 9f8c060343 Put assertions in its own scope
Some if-else statements in the code don't use
curly-braces, which is problematic if the only
statement used is an assertion. This should fix
that.
2019-02-19 15:16:59 -08:00
mpilman 801e4c4700 Make when-macros work by accepting varargs 2019-02-19 15:16:59 -08:00
Evan Tschannen 6b0ef8341c
Merge pull request #1157 from vishesh/task/tls-upgrade
Support live TLS migration #1050
2019-02-19 14:30:08 -08:00
Vishesh Yadav 124a277a65 Remove coordinator printf in SimulatedCluster 2019-02-19 13:53:17 -08:00
mpilman a225204965 put code in foundationdb dir in container
Generating the documentation does not work
if the foundationdb code is not in a directory
called `foundationdb`. This is imho a bug.
However, this should be fixed in another PR.

For now I simply renamed the directory in
docker-compose
2019-02-19 11:11:43 -08:00
mpilman 71baffa7d0 Address review 2019-02-19 11:11:43 -08:00
Andrew Noyes 5b3e6f3ba7 Update build/cmake/package_tester/modules/docker.sh
Co-Authored-By: mpilman <markus@pilman.ch>
2019-02-19 11:11:43 -08:00
mpilman 81e482b17e fix invalid assignment 2019-02-19 11:11:43 -08:00
mpilman 4c80b1796a renamed util-fun success to make purpose clearer 2019-02-19 11:11:43 -08:00
mpilman 3350a5ffe5 added documentation for test definitions 2019-02-19 11:11:43 -08:00
Andrew Noyes 2d25e7d08d Update build/cmake/package_tester/modules/arguments.sh
Co-Authored-By: mpilman <markus@pilman.ch>
2019-02-19 11:11:43 -08:00
Andrew Noyes c9f7f50907 Update build/cmake/package_tester/modules/test_args.sh
Co-Authored-By: mpilman <markus@pilman.ch>
2019-02-19 11:11:43 -08:00
mpilman 983ddaaed8 use fail instead of ugly `?`-assignment 2019-02-19 11:11:43 -08:00
mpilman f47b9fe8e5 delete containers, not images 2019-02-19 11:11:43 -08:00
Andrew Noyes 15eb996280 Add test-fast and test to docker compose and build.sh 2019-02-19 11:11:43 -08:00
mpilman b21d9e1a78 Add multi-threading feature to package test 2019-02-19 11:11:43 -08:00
mpilman e8b6b64f3a Made it possible to implement and run a test suite 2019-02-19 11:11:43 -08:00
mpilman a2e4dc042f Implement automatic package verification 2019-02-19 11:11:43 -08:00
mpilman 41128d5bb5 Remove packages->package dependency
There is a cmake bug not allowing us to have this
dependency :(
2019-02-19 11:11:25 -08:00
mpilman acad3e8201 Put rpm, deb, or msi into the packages folder
This additionally fixes a dependency bug on Windows
2019-02-19 11:11:25 -08:00
Vishesh Yadav 0898686c9b Remove old TODO 2019-02-18 15:43:27 -08:00
Chris Donati 6d86523040 Update docs regarding versionstamp operations
Since API version 520, the last 4 bytes are used as an index for
both the key and value transformations.
2019-02-17 11:34:12 -08:00
Vishesh Yadav e05b53d755 Merge remote-tracking branch 'apple/master' into task/tls-upgrade 2019-02-15 20:37:07 -08:00
Vishesh Yadav d34a658357 Add Restore role previous removed by mistake 2019-02-15 20:25:03 -08:00
Vishesh Yadav 345fd7e4da Prefer unencrypted ports at client side during transition 2019-02-15 20:23:07 -08:00
Vishesh Yadav c03de6c7b6 Update CLI to take addresses with mixed TLS states 2019-02-15 20:23:07 -08:00
Evan Tschannen 83060c6e56
Merge pull request #1062 from jzhou77/PR
Add a new DataDistributor role.
2019-02-15 13:51:27 -08:00
Evan Tschannen 8099a0b665
Merge pull request #1129 from alexmiller-apple/tstlog-1
Spill-by-reference TLog Part 1: IDiskQueue::read()
2019-02-15 11:48:14 -08:00
mpilman 0bbbfb6ee3 Address Andrew's review comments 2019-02-15 00:01:42 -08:00
mpilman 0754ce1a43 fixef formatting of go code 2019-02-15 00:01:42 -08:00
mpilman 3401c1f771 add option to fail cmake if not all dependencies are found 2019-02-15 00:01:42 -08:00