Steve Atherton
6e410f7712
Set stdout to line buffered so shells without pseudo-terminals see realtime progress. ( #6262 )
2022-01-19 20:29:59 -08:00
Markus Pilman
ab76312b42
Merge pull request #6180 from sfc-gh-anoyes/anoyes/java-native-headers
...
Build native headers for jni
2022-01-11 13:46:39 -07:00
Lukas Joswiak
8a6bb8611a
Update Python libfdb_c paths
2022-01-11 09:34:20 -08:00
Lukas Joswiak
bf9b4aeaab
Rename libfdb_c in bindings dir
2022-01-11 09:34:20 -08:00
Lukas Joswiak
ff03fe99ff
Add a copy of libfdb_c.so to lib for external client use
2022-01-11 09:34:20 -08:00
Kao Makino
95c72bfc1b
Fix malformed JSON
2022-01-10 10:19:11 -08:00
Andrew Noyes
21a5aebc7c
Rebuild fat jar if fdbJNI.cpp changes
...
At least now if you change fdbJNI.cpp it rebuilds the fat jar. I'm
pretty sure there are other problems with incremental recompilation here
but at least this is an improvement.
2022-01-06 15:45:23 -08:00
Andrew Noyes
5e140bc233
Build native headers for jni
...
This will help ensure that native java functions are implemented with
the right type.
2022-01-06 15:45:23 -08:00
Andrew Noyes
e5f943de08
Merge pull request #6179 from sfc-gh-anoyes/anoyes/test-generated-go-up-to-date
...
Update generated.go, and test to keep it up to date
2022-01-06 09:58:33 -08:00
Andrew Noyes
a3f37df94a
Merge pull request #6175 from sfc-gh-anoyes/anoyes/delete-non-virtual-destructor
...
Enable -Wdelete-non-virtual-dtor for clang build
2022-01-05 15:41:59 -08:00
Andrew Noyes
32ebdc6da2
Log status json if cluster is unavailable in fdbcli tests
2021-12-22 15:23:05 -08:00
Andrew Noyes
38a97a2e8f
Increase default timeout to 5 minutes for add_fdbclient_test
2021-12-22 15:23:05 -08:00
Andrew Noyes
fba55557ae
Update generated.go, and test to keep it up to date
...
Also remove some unnecessary cgo stuff, and add a description to
trace_partial_file_suffix
2021-12-21 15:16:50 -08:00
Andrew Noyes
fd33d31ff5
Enable -Wdelete-non-virtual-dtor for clang build
...
We had been disabling -Wdelete-non-virtual-dtor, because this seems to be done intentionally in the generated code of the actor compiler. I spent some time trying to rewrite it in a way that doesn't literally delete/destroy through a pointer to a base class without a virtual destructor, but I was unable to come up with something that passes correctness. My best guess is that we do this so that we can destroy actor state classes, call callbacks registered on the actor SAV, and then destroy the SAV.
Anyway now we'll detect new usages of deleting through a pointer to a base class without a virtual destructor.
2021-12-20 16:19:31 -08:00
Andrew Noyes
1452680d54
Merge pull request #6120 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
Andrew Noyes
1ce9c0faed
Add sleep 1 after killing/suspending a process
...
So that it's more likely to actually deliver the message
2021-12-08 16:44:03 -08: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
Andrew Noyes
5d88fdf16c
Use the correct directory for m1 for embedding libfdb_java
2021-12-03 16:31:50 -08:00
Tao Lin
9b0a9c4503
Return error when getRangeAndFlatMap has more & Improve simulation tests ( #6029 )
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
ec64890ac1
Remove some usages of PRId64 by using fmt library
2021-11-30 23:35:36 -08:00
Aaron Molitor
77db63274b
use FDB_VERSION in lieu of PROJECT_VERSION or CMAKE_PROJECT_VERSION
...
write FDB_VERSION to a file to avoid regex golf in other build scripts
2021-11-29 15:11:20 -08:00
Aaron Molitor
08b635d405
rename prerelease_string, replace PRERELEASE with SNAPSHOT
2021-11-29 15:11:20 -08:00
A.J. Beamon
3f409bff7a
Merge pull request #6028 from rajivr/binding-tester-docs
...
docs: Clarify that `"ERROR"` is a byte string
2021-11-19 08:37:58 -08:00
Rajiv Ranganath
ad56935216
docs: Clarify that `"ERROR"` is a byte string
...
`string` can be ambiguous as `Tuple` layer supports both `byte string`
and unicode `string`.
Signed-off-by: Rajiv Ranganath <rajiv.ranganath@atihita.com>
2021-11-19 06:11:04 +05:30
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 #5978" ( #5980 )
2021-11-16 19:44:35 -08:00
Jingyu Zhou
7c3c87ab82
Merge pull request #5935 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 #5959 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 #5609
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
ebcc023b6f
Enable missing-field-initializers clang warning
2021-11-01 14:18:31 -07: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
QA Hoang
4d99cf250b
fixed bug with optional argument
2021-10-12 16:18:17 -07:00
QA Hoang
847c58d4bc
fixed bug with optional argument
2021-10-12 14:30:47 -07:00
QA Hoang
85a21af67a
added mako args to json report file
2021-10-12 13:57:59 -07:00
QA Hoang
2958687ed4
--json_report defaults to mako.json if no output file path is given
2021-10-12 13:12:13 -07:00
QA Hoang
ebaf5b3bae
renamed option to --json_report
2021-10-12 11:56:05 -07:00
QA Hoang
b4f56c7f76
added args validation
2021-10-11 11:11:48 -07:00
QA Hoang
85dbbd325d
added debug msg
2021-10-11 11:06:11 -07:00
QA Hoang
1718c7877c
addressed comments and format
2021-10-08 11:59:02 -07:00
QA Hoang
9cb28a2bde
Merge branch 'master' into qhoang-support-multithreaded-client-mako
2021-10-08 11:02:13 -07:00
QA Hoang
9ebe40c539
Merge branch 'master' into qhoang-mako-output-json
2021-10-08 09:57:08 -07:00
Chaoguang Lin
e2fa511036
Add option --api-version for fdbcli
2021-10-05 13:00:28 -07:00
QA Hoang
2a8a5e0142
cleanup -- addressed comments
2021-10-02 22:16:47 -07:00
QA Hoang
b1cb343c24
fixed typo
2021-10-01 15:03:22 -07:00
QA Hoang
a484845877
renamed json properties
2021-10-01 14:55:31 -07:00
QA Hoang
695be07705
formatting
2021-10-01 14:39:54 -07:00
QA Hoang
128e1c985d
followed google json formatting
2021-10-01 14:38:31 -07:00
QA Hoang
5876d8c410
--json takes a file path
2021-10-01 14:34:27 -07:00
QA Hoang
6d8e924ac2
json formatting
2021-10-01 13:57:02 -07:00
QA Hoang
48a4204668
formatting
2021-09-30 23:08:10 -07:00
QA Hoang
88a30399f3
implemented outputting results to json file
2021-09-30 23:06:23 -07:00
QA Hoang
b6b7bf1e4b
added option to output stats to json
2021-09-30 17:41:12 -07:00
A.J. Beamon
01a4d7f21b
Add missing test dependency in cmake
2021-09-30 09:33:54 -07:00
A.J. Beamon
c82d820bfd
Fixes to new disconnected tests; add a version that doesn't use MVC
2021-09-29 13:16:17 -06:00
A.J. Beamon
de863d170d
Add some tests for timeout behavior with disconnected clusters
2021-09-29 13:16:17 -06:00
QA Hoang
5a5f724d9c
added help for --disable_ryw
2021-09-27 13:27:13 -07:00
QA Hoang
3ed7462d17
formatting
2021-09-27 13:27:13 -07:00
QA Hoang
9948a926ea
support disabling RYW in mako
2021-09-27 13:27:13 -07:00
Xiaoxi Wang
1d36c18a68
solve cmake configure error when -DOPEN_FOR_IDE=ON
2021-09-21 12:43:22 -07:00
Lukas Joswiak
7ed7ca9bac
Fix OPEN_FOR_IDE
2021-09-21 12:42:49 -07:00
A.J. Beamon
76ed965139
Switch from GO111MODULE=off to GO111MODULE=auto (to match what is on release-7.0 and what we ultimately decided on)
2021-09-14 09:44:17 -07:00
FDB Formatster
2c788c233d
apply clang-format to *.c, *.cpp, *.h, *.hpp files
2021-08-27 17:07:47 -07:00
Chaoguang Lin
a08f0e9aa6
Merge pull request #5464 from sfc-gh-clin/add-two-tests
...
Add fdbcli tests for profile and triggerddteaminfolog
2021-08-27 11:24:11 -07:00
john_leach
63337ced8a
Support building with go 1.16 and higher #5479
2021-08-26 15:54:24 -07:00
Chaoguang Lin
0b9f32a7d2
Remove the unnecessary check in the end of setclass
2021-08-25 14:50:52 -07:00
Chaoguang Lin
a1c8217260
Move setclass test from single-process_test to multi-process_test
2021-08-25 13:04:01 -07:00
Chaoguang Lin
b6dc20875e
Add test coverage for triggerddteaminfolog command
2021-08-25 10:39:00 -07:00
Chaoguang Lin
b00cefc243
Add a safe wait in the fdbcli setclass test
2021-08-25 10:38:01 -07:00
Chaoguang Lin
6b01363f45
Remove commented test; fix issues
2021-08-25 10:29:48 -07:00
Chaoguang Lin
ec1fcfba57
Add test coverage for profile command
2021-08-25 10:04:22 -07:00
QA Hoang
9eeab435b8
Merge branch 'master' into qhoang-FDBCORE-930-modify-mako-multithreaded-client
2021-08-20 10:25:09 -07:00
QA Hoang
5f599fd42f
added client_threads_per_version network option to mako to support multiple client threads
2021-08-20 09:56:27 -07:00
Chaoguang Lin
68b41392a0
Change to use ArgumentParser, set env to use external client library in Popen, enable logging in all tests
2021-08-19 12:13:26 -07:00
QA Hoang
119d041f90
checkpoint - working poc
2021-08-17 15:49:15 -07:00
Chaoguang Lin
775ac3e27c
Format fdbcli_tests.py file
2021-08-17 10:15:35 -07:00
Chaoguang Lin
cc18cc742c
Add fdbcli external client tests
2021-08-17 10:14:39 -07:00
Chaoguang Lin
4cc2042783
Update debugging logs
2021-08-13 15:00:52 -07:00
Chaoguang Lin
9553427619
try to fix exlcude fdbcli test
2021-08-13 11:36:49 -07:00
QA Hoang
c8ae43fc7c
Merge branch 'master' into qhoang-enable-mako-to-work-with-mvc
2021-08-11 10:11:34 -07:00
QA Hoang
a32de81cd2
implemented a timeout for FDB_ERROR_RETRY
2021-08-10 19:54:06 -07:00
QA Hoang
749bd1d3e8
added comments
2021-08-09 21:11:10 -07:00
Chaoguang Lin
3b9cb1a85a
Re-enable exclude command ctest
2021-08-09 21:18:27 +00:00
QA Hoang
0454c769d5
removed debug printf
2021-08-09 13:37:46 -07:00
QA Hoang
1475f300ad
removed debug printf
2021-08-09 13:26:25 -07:00
QA Hoang
d1df06c407
enabled mako to do work to two clusters
2021-08-09 11:29:34 -07:00
Markus Pilman
eb908546bb
Merge pull request #5318 from PierreZ/cmake/options
...
add CMake's option for bindings
2021-08-06 13:06:24 -06:00
Pierre Zemb
415bf2afc0
add CMake's option for bindings
2021-08-05 21:55:45 +02:00
Chaoguang Lin
10484c426c
Disable advanceversion ctest
2021-08-05 19:31:33 +00:00
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
Chaoguang Lin
a32cff08eb
Add comments for the change
2021-08-02 22:34:08 +00:00
Chaoguang Lin
20f0a5a1f2
Disable multiprocess fdbcli tests while debugging flakiness
2021-08-02 21:55:07 +00:00
Andrew Noyes
353efe7db2
Merge pull request #5264 from sfc-gh-tclinkenbeard/fix-more-clang-warnings
...
Enable more warnings for `clang`
2021-07-29 15:43:54 -07:00
Chaoguang Lin
9eec9376bd
Merge pull request #5285 from sfc-gh-clin/refactor-throttle-command
...
Refactor throttle command
2021-07-28 13:43:15 -07:00
sfc-gh-tclinkenbeard
94a65865d9
Merge remote-tracking branch 'origin/master' into fix-clang-warnings
2021-07-28 12:29:27 -07:00
sfc-gh-tclinkenbeard
c74047c665
Merge remote-tracking branch 'origin/master' into fix-more-clang-warnings
2021-07-28 11:51:02 -07:00
A.J. Beamon
9f571255bd
Merge pull request #5271 from sfc-gh-ajbeamon/do-not-reset-committed-transaction
...
Do not partially reset a transaction when it is committed or fails to commit with an error
2021-07-28 09:02:54 -07:00
Russell Sears
82603ff764
Merge pull request #5211 from hfu5/repeat-m
...
Add RepeatableReadMultiThreadClientTest
2021-07-27 18:57:22 -07:00
QA Hoang
aae3305a55
added retry txn for FDB_ERROR_RETRY
2021-07-27 18:09:47 -07:00
Chaoguang Lin
e5933dee7e
Add test coverage for throttle
2021-07-27 17:28:59 +00: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
36703decee
Merge remote-tracking branch 'origin/master' into fix-clang-warnings
2021-07-26 09:32:29 -07:00
Clement Pang
9af401b205
Add comments to orEqual()
2021-07-24 09:10:46 +08:00