1
0
mirror of https://github.com/apple/foundationdb.git synced 2025-06-01 02:37:02 +08:00

448 Commits

Author SHA1 Message Date
Andrew Noyes
1452680d54
Merge pull request from sfc-gh-anoyes/anoyes/noexecstack
Link libfdb_c with `-z noexecstack`
2021-12-14 09:53:02 -08:00
Josh Slocum
26a36535fb fixing formatting 2021-12-10 12:47:53 -06:00
Josh Slocum
bd0ec5c69e Update bindings/c/test/mako/mako.c
Co-authored-by: A.J. Beamon <aj.beamon@snowflake.com>
2021-12-10 12:47:53 -06:00
Josh Slocum
3afe9fb6e0 MVC bug fixes 2021-12-10 12:47:53 -06:00
Josh Slocum
da5d3e3ae8 Added new RETURN*_ON_ERROR variants to allow catching errors in other types of functions 2021-12-10 12:47:53 -06:00
A.J. Beamon
1a1f15323a When checking whether a timeout fired too early, use a larger epsilon from the target duration. 2021-12-07 18:50:49 -08:00
Andrew Noyes
ef81252f31 Link libfdb_c with -z noexecstack 2021-12-07 10:51:10 -08:00
Andrew Noyes
b43f1640a4 Fix crashes for versioned symbols on mac m1
Also fix the build to not require relocations for arm linux

Tested on mac m1
2021-12-03 16:32:50 -08:00
Tao Lin
9b0a9c4503
Return error when getRangeAndFlatMap has more & Improve simulation tests () 2021-12-03 12:50:07 -08:00
Josh Slocum
a8b1154728 Fix C++ style comments. 2021-12-02 12:18:08 -06:00
Josh Slocum
2c63d0ae03 cleaning up prints 2021-12-01 17:17:19 -06:00
Josh Slocum
c11b8a3625 Improved comments 2021-12-01 17:04:55 -06:00
Josh Slocum
a82845af43 Merge branch 'master' into bg_bindings 2021-12-01 16:55:28 -06:00
Josh Slocum
7f4fcc8c2c Added FDBResult and made readBlobGranules use it 2021-12-01 16:22:05 -06:00
sfc-gh-tclinkenbeard
766a05d33c Merge remote-tracking branch 'origin/master' into add-format-warning 2021-11-17 12:14:01 -08:00
Tao Lin
fd707c6d7e
Tests for "Restricted getRangeAndFlatMap to snapshot " () 2021-11-16 19:44:35 -08:00
Jingyu Zhou
7c3c87ab82
Merge pull request from sfc-gh-qhoang/qhoang-mako-cleanup-temp-files
Remove mako temp shared memory file
2021-11-15 13:27:37 -08:00
Markus Pilman
daf6dc22d4
Merge pull request from mpilman/features/apple-silicon-3
FDB compiles on Apple Sillicon
2021-11-15 11:21:28 -07:00
Tao Lin
9422b8e5f2 Restricted getRangeAndFlatMap to snapshot 2021-11-12 15:12:37 -08:00
sfc-gh-tclinkenbeard
62efeb6812 Merge remote-tracking branch 'origin/master' into add-format-warning 2021-11-12 11:50:36 -08:00
Andrew Noyes
5c9af1fdba Remove unnecessary calls to Standalone::contents 2021-11-11 16:39:39 -08:00
Andrew Noyes
ed46a81bbc Fix (test only) heap use after free 2021-11-11 16:05:33 -08:00
Josh Slocum
329091e14f Merge branch 'master' into bg_bindings 2021-11-11 10:13:37 -06:00
Josh Slocum
77fa1e701a cleanup 2021-11-11 09:43:23 -06:00
Josh Slocum
b8ac4213a1 Switched BG APIs to transaction instead of database 2021-11-11 08:59:06 -06:00
Markus Pilman
5af465aa29 FDB compiles on Apple Sillicon 2021-11-10 20:05:38 -07:00
Lukas Joswiak
e0953c381d Remove unused unit tests 2021-11-10 13:33:49 -08:00
Lukas Joswiak
1da288822f Remove distributed trace database option 2021-11-10 13:33:49 -08:00
Lukas Joswiak
8bc0c3e8a2 Convert distributed trace sampling rate to a database option 2021-11-10 13:33:49 -08:00
Lukas Joswiak
fc2bfdbacf Remove unit tests dependent on knob 2021-11-10 13:33:49 -08:00
Tao Lin
fdb3b72e35 Introduce GetRangeAndFlatMap to push computations down to FDB
Re-introduce 
2021-11-09 13:52:28 -08:00
QA Hoang
6cf0f8121d remove mako temp shared memory file 2021-11-08 17:54:32 -08:00
Tao Lin
586cc3b102
Revert "Introduce GetRangeAndFlatMap to push computations down to FDB" 2021-11-04 08:46:56 -07:00
Tao Lin
6c98e35893 Rename Hop to FlatMap 2021-11-03 13:32:01 -07:00
Tao Lin
0853661d13 Introduce getRangeAndHop to push computations down to FDB 2021-11-03 13:21:16 -07:00
Josh Slocum
e3839e198a Cleanup 2021-11-03 13:41:41 -05:00
Josh Slocum
5b2617a524 Added local granule file reading to mako 2021-11-03 09:33:30 -05:00
Josh Slocum
382882f1c1 mako successfully calls read_blob_granules and gets stuff back 2021-11-02 13:43:42 -05:00
Josh Slocum
d6a31078fe C API for blob granules 2021-11-02 10:01:23 -05:00
sfc-gh-tclinkenbeard
13bb7838aa Enable clang -Wformat warning 2021-10-30 21:07:38 -07:00
QA Hoang
13613ab0f1 fixed mako bug and added comment 2021-10-29 10:49:36 -07:00
QA Hoang
6281e64778 updated mako documentation 2021-10-27 20:54:17 -07:00
QA Hoang
2232ba0a3f fixed merging from PR 5710 2021-10-27 20:54:17 -07:00
QA Hoang
7ffd7d9aaa fixed typo 2021-10-20 12:10:14 -07:00
QA Hoang
19495e4c0d formatting 2021-10-20 11:25:33 -07:00
QA Hoang
a4ccdb925b Merge branch 'master' into qhoang-mako-output-json 2021-10-20 11:24:33 -07:00
QA Hoang
8d7d8a40ae init client_threads_per_version to 0 2021-10-19 09:48:26 -07:00
QA Hoang
ae369d52a2 minor edits 2021-10-12 22:35:22 -07:00
QA Hoang
3751250813 addressed comment and removed one extra { 2021-10-12 18:50:28 -07:00
QA Hoang
5af2915cea added more input validation logic 2021-10-12 16:38:42 -07:00