511 Commits

Author SHA1 Message Date
Andrew Noyes
0eadf91028 Remove std::filesystem usage for old OSX 2021-08-03 13:31:08 -07:00
Andrew Noyes
a77fcb5448 Finalize partial trace files during trace clean up 2021-08-03 13:26:48 -07:00
Andrew Noyes
564ed3581a Expect trace file renamed after fdb_stop_network 2021-08-03 10:37:43 -07:00
Andrew Noyes
46b8ab97f5 Remove obsolete comment 2021-08-03 09:47:15 -07:00
Andrew Noyes
39eff8c569 Add trace_partial_file_suffix network option 2021-08-03 09:43:42 -07:00
Andrew Noyes
5301e1a865 Add trace_partial_file_suffix_test 2021-08-03 09:37:11 -07:00
sfc-gh-tclinkenbeard
94a65865d9 Merge remote-tracking branch 'origin/master' into fix-clang-warnings 2021-07-28 12:29:27 -07:00
QA Hoang
aae3305a55 added retry txn for FDB_ERROR_RETRY 2021-07-27 18:09:47 -07:00
QA Hoang
7f76a434f7 added transaction retry to mako populate mode 2021-07-26 21:18:56 -07:00
QA Hoang
e0513a55f8 added transaction retry to mako clean mode 2021-07-26 20:57:58 -07:00
A.J. Beamon
34f82e7a15 Do not partially reset a transaction when it is committed or fails to commit with an error. 2021-07-26 09:51:44 -07:00
sfc-gh-tclinkenbeard
e62e6503ac Fix most delete-non-virtual-dtor clang warnings 2021-07-21 23:32:44 -07:00
Markus Pilman
b760087d5f
Update bindings/c/test/mako/mako.c 2021-07-20 13:27:40 -06:00
Markus Pilman
8f6b048e22 fix macOS build 2021-07-20 11:52:57 -06:00
Sam Gwydir
dd0d99ab10 FDBCORE-617: Allocate mako prefix on stack 2021-06-10 14:25:04 -07:00
Sam Gwydir
127fc6c09c FDBCORE-617: Add mako option to prepend padding 2021-06-09 17:13:02 -07:00
Jingyu Zhou
e34df983ee
Merge pull request #4800 from sfc-gh-tclinkenbeard/remove-extra-copies
Remove unnecessary temporary objects while growing objects of type std::vector<std::pair<A, B>>
2021-06-07 13:23:50 -07:00
sfc-gh-tclinkenbeard
371a38e6e5 Merge remote-tracking branch 'origin/master' into remove-extra-copies 2021-06-07 10:26:06 -07:00
Andrew Noyes
5d2d4622f6
Update bindings/c/test/unit/unit_tests_version_510.cpp 2021-06-07 09:40:26 -07:00
Andrew Noyes
0beb548e99
Improve comments 2021-06-05 17:10:41 -07:00
Andrew Noyes
cd5c0481cc Use linker script for external workloads
This fixes an issue on Arm with lld:

ld.lld: error: relocation R_AARCH64_PREL64 cannot be used against symbol OPENSSL_armcap_P; recompile with -fPIC

I think the problem was that lld thought that the shared object might
need to interpose OPENSSL_armcap_P at runtime, although honestly I'm not
too sure about all this linker stuff.
2021-06-05 14:43:50 -07:00
Andrew Noyes
311da4b07a Explain requirements for fdb_c.g.S implementations 2021-06-05 14:43:50 -07:00
Andrew Noyes
34529c353c Try to fix arm build on clang 2021-06-05 14:42:30 -07:00
Andrew Noyes
7cdd43c352 Handle retriable errors better in fdb_c_unit_tests 2021-05-25 16:45:24 +00:00
sfc-gh-tclinkenbeard
f28ac955c3 Remove unnecessary temporary objects while growing objects of type std::vector<std::pair<A, B>> 2021-05-10 16:32:50 -07:00
Jingyu Zhou
3ce31cb347 Upgrade api version from 700 to 710 2021-05-05 21:15:00 -07:00
Sam Gwydir
45c79ecc17 Mako should be able to set loggroup 2021-05-03 21:18:07 -07:00
A.J. Beamon
823873a9aa Address review comments:
Use nullptr instead of NULL
Use const& for a parameter
Add some comments
2021-04-26 14:39:27 -07:00
A.J. Beamon
a794fca932 Support 5.0 (and earlier) client versions by adding GRV probing for old versions. Update the C bindings implementation of get_server_protocol to convert the ProtocolVersion object into a uint64_t. Rename a misleading protocol version alias. 2021-04-23 15:00:21 -07:00
A.J. Beamon
eaaae2e16d Merge branch master into 'feature-mvc-monitor-protocol-version' 2021-04-20 15:07:02 -07:00
A.J. Beamon
4a1a55f270 Remove fdb_get_server_protocol from the Python bindings. This C function this was using recently moved and changed signature, so it no longer works in Python. 2021-04-16 13:48:44 -07:00
A.J. Beamon
b2d6930103 The multi-version client monitors the cluster's protocol version and only activates the client library that can connect. 2021-04-15 11:45:14 -07:00
A.J. Beamon
d3b6a543ab Update comment in unit test 2021-04-14 13:23:06 -07:00
A.J. Beamon
bc8568d4bb Use the correct pointer in the unit test for fdb_database_get_server_protocol 2021-04-14 12:58:59 -07:00
A.J. Beamon
3ed0d614d2 Move fdb_get_server_protocol to be a function on the database object. Add an argument for expected_version that can be used to signal that the function shouldn't return unless the protocol version is different. 2021-04-14 12:50:30 -07:00
A.J. Beamon
ed811008ca
Merge pull request #4504 from sfc-gh-nwijetunga/network_busyness
Monitor Network Thread Busyness
2021-03-24 09:44:09 -07:00
Nim Wijetunga
de1c354b12 address pr comments 2021-03-23 20:56:37 +00:00
Andrew Noyes
0acd2a1e13 Work around fdbmonitor/tsan problem
I don't fully understand what's going on here, but I want to run with tsan enabled
2021-03-18 23:21:46 +00:00
Nim Wijetunga
0afacf4997 Merge branch 'master' of github.com:sfc-gh-nwijetunga/foundationdb into network_busyness
* 'master' of github.com:sfc-gh-nwijetunga/foundationdb:
  Update example Dockerfile (#4488)
  Add aarch64 support in CentOS7 Dockerfile (#4483)
  Add a comment back
  Port lost PR #4166 back
  change macro and format file
2021-03-18 19:03:06 +00:00
Nim Wijetunga
73571ad52e Merge branch 'master' of github.com:sfc-gh-nwijetunga/foundationdb into network_busyness
* 'master' of github.com:sfc-gh-nwijetunga/foundationdb: (55 commits)
  Port lost changes from #4004
  Fix markdown
  Factor our refreshTransaction gadget
  Align FastAllocator memory to 4096 for size >= 4096
  Fix heap-use-after-free's
  Disable lsan in joshua
  Manually apply changes made to BackupContainer.actor.cpp on release-6.3 to the new files where that code is located.
  add release branch instructions
  Fix PR number in release note link
  fixed a simulation bug where a process on an unreliable machine would be considered reliable by the simulator
  Add tini as PID 1 to docker image (#4363)
  Fix typo
  Fix broken_promise bug
  Explain FastAllocator<4096> special case
  Inform LSAN that we have unaligned pointers
  apply clang-format to flow/Platform.h
  Fix typos
  Address review comments
  Change the macro that forbids exit() calls to be a static assertion
  Add versionstamp serialization information
  ...
2021-03-18 18:58:43 +00:00
Andrew Noyes
fbe5c81b33 Block until future is ready in test 2021-03-18 18:24:12 +00:00
Andrew Noyes
0919eff187 Fix data race in fdb_get_server_protocol 2021-03-18 18:24:12 +00:00
A.J. Beamon
ee2584b520
Merge pull request #4498 from sfc-gh-mpilman/bugfix/format-fdbc
Fix clang-format issue with fdb_c.h
2021-03-18 09:16:18 -07:00
Nim Wijetunga
ea922aa648 address pr comments 2021-03-17 18:16:18 +00:00
Nim Wijetunga
bf5f83d2bf address pr comments 2021-03-16 21:49:36 +00:00
Nim Wijetunga
5f079904d4 add unit test 2021-03-16 18:30:39 +00:00
Nim Wijetunga
f0d79b3d86 Inital implementation of network busyness 2021-03-15 23:23:56 +00:00
Markus Pilman
ebcc69f512 change macro and format file 2021-03-15 15:17:22 -06:00
Andrew Noyes
a76c7b9754 Fix several memory leaks and a thread leak 2021-03-11 23:58:32 +00:00
Vishesh Yadav
2cd3f45fd6 Merge remote-tracking branch 'apple/release-6.3' into master-format-final
release-6.3 was recently merged, and there were two PRs which were
merged in between and got those changes in here. Hence, since all the
changes were in, discarded the incoming changes and accepted all
current.
2021-03-10 16:50:44 -08:00