176 Commits

Author SHA1 Message Date
FDB Formatster
df90cc89de apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
Markus Pilman
82cda5448d
Merge pull request #4266 from sfc-gh-nwijetunga/optimize-watches-client
Optimize Watches Client
2021-02-16 13:28:51 -07:00
Nim Wijetunga
058557a3b1 fix pr issues 2021-02-11 15:51:37 -05:00
Nim Wijetunga
3b48942f9a resolve pr comments 2021-02-09 17:56:30 -05:00
Nim Wijetunga
2560dc0227 add test workload 2021-02-09 12:32:37 -05:00
Chaoguang Lin
90686a95a0 format code 2021-02-08 22:17:16 -08:00
Chaoguang Lin
61082e70e1 format code, add comments 2021-02-08 19:11:30 -08:00
Chaoguang Lin
e3c1530a15 format code 2021-02-08 18:56:12 -08:00
Chaoguang Lin
0947b87b60 Update documentation 2021-02-08 18:47:49 -08:00
Chaoguang Lin
97925de9d4 Update fdb_database_create_snapshot to take a UID as input 2021-02-05 14:14:38 -08:00
Nim Wijetunga
ec6226bde9 change logic 2021-02-03 20:01:26 -05:00
Nim Wijetunga
b6e7961b78 change to references 2021-02-02 20:29:03 -05:00
Chaoguang Lin
5f912f0deb Add snapshot c function 2021-01-26 11:53:35 -08:00
Andrew Noyes
564c70acb4
Merge branch 'master' into anoyes/modernize-use-override 2021-01-25 18:26:18 -08:00
Andrew Noyes
4ee97c0784 Use clang-tidy to automatically fix missing overrides
Use `clang-tidy -p . $file -checks='-*,modernize-use-override' -header-filter='.*' -fix`
to fix missing overrides, and then use git clang-format to reformat just
those changes. This went pretty well for most files.

Formatting the following files went off the rails, so I'm going to
follow up with a commit that's just clang-tidy and no clang-format.

- fdbclient/DatabaseBackupAgent.actor.cpp
- fdbclient/FileBackupAgent.actor.cpp
- fdbserver/OldTLogServer_4_6.actor.cpp
- fdbmonitor/SimpleIni.h
- fdbserver/workloads/ClientTransactionProfileCorrectness.actor.cpp
2021-01-26 02:04:12 +00:00
Chaoguang Lin
9cd7c43a2c Add c function fdb_database_force_recovery_with_data_loss 2021-01-21 00:42:23 -08:00
Andrew Noyes
ff7d306b09 Merge branch 'release-6.3' into anoyes/merge-6.3-to-master
Include conflict markers for now. Will resolve.
2021-01-15 18:04:09 +00:00
Andrew Noyes
6d6b2843da Merge remote-tracking branch 'upstream/release-6.2' into anoyes/merge-release-6.2
I'm including the conflict markers for now and I'll resolve them in a
subsequent commit
2021-01-14 17:20:11 +00:00
A.J. Beamon
58360a192f Add a counter for the number of status requests made by a client 2021-01-05 10:18:43 -08:00
Chaoguang Lin
e097c98956 Remove headed added by IDE, add comments 2021-01-04 00:18:01 -08:00
Chaoguang Lin
da7b65cd71 Change the interface back to return int64_t 2021-01-03 22:45:09 -08:00
Chaoguang Lin
b68d84aaea Merge remote-tracking branch 'upstream/master' into add-c-function-for-management-commands 2020-12-21 12:32:31 -08:00
Lukas Joswiak
18201d6f4f Add option to enable transaction tracing 2020-12-07 11:24:14 -08:00
Lukas Joswiak
3669615e4b Refactor and clean up 2020-12-03 14:06:11 -08:00
Chaoguang Lin
88e66545bb Change the api to return bool instead of int 2020-12-03 12:01:32 -08:00
Chaoguang Lin
2320f970c1 Add reboot_worker and pythong binding 2020-11-19 16:43:39 -08:00
Chaoguang Lin
a72bb52eae Merge branch 'master' of github.com:apple/foundationdb into add-c-function-for-management-commands 2020-10-28 22:32:44 -07:00
Evan Tschannen
614c8bc895 Get read versions requests must be load balanced on the number of requests because ratekeeper gives out an equal budget to each proxy 2020-10-04 16:20:24 -07:00
Young Liu
cc5bc16bd8 Rename more places from proxy to commit proxy 2020-09-15 22:29:49 -07:00
Chaoguang Lin
3dfadff6d8 Merge remote-tracking branch 'upstream/master' into add-c-function-for-management-commands 2020-09-14 16:45:47 -07:00
Young Liu
35bef73a1c Rename proxy to commit proxy 2020-09-10 17:44:15 -07:00
Young Liu
e87327b33b Merge master branch and keep master proxy reporting txn cost estimation to ratekeeper 2020-08-29 12:47:35 -07:00
Young Liu
63b3612ad5 Merge master branch and resolve conflicts 2020-08-24 16:42:31 -07:00
Chaoguang Lin
23ef23357c Test code to add c function for kill/suspend 2020-08-21 14:30:52 -07:00
Xiaoxi Wang
5aaf86206a add counter for expensive clear estimation for audit and trace 2020-08-20 23:00:45 +00:00
Xiaoxi Wang
e375761581 Merge branch 'master' of https://github.com/apple/foundationdb 2020-08-20 20:29:14 +00:00
sfc-gh-tclinkenbeard
7b210aee24 Use =delete to disable special member functions
This has the benefits of:
- Easier to understand compiler error messages
- Moves some errors from link-time to compile-time
- NonCopyable classes can still specify default move constructors
2020-08-18 11:07:00 -07:00
Xiaoxi Wang
475d4cca72 solve some cr comments 2020-08-14 16:40:16 +00:00
Young Liu
79ce16650d merge master branch 2020-08-11 19:22:10 -07:00
Xiaoxi Wang
cae6f04070 sample on cost instead of bytes 2020-08-10 22:30:06 +00:00
Xiaoxi Wang
696e77c94e query midShardSize from proxy 2020-08-10 20:13:44 +00:00
Xiaoxi Wang
df9149fea4 ignore transaction tag of immediate transactions 2020-08-07 23:36:17 +00:00
Young Liu
d6a23a4d6b Resolve comments to make GRV proxy a separate process class 2020-08-06 00:01:57 -07:00
Xiaoxi Wang
13307679c5 use median shard size" 2020-08-05 03:57:25 +00:00
Xiaoxi Wang
6db7040f17 update DDMetrics periodically 2020-08-03 05:52:38 +00:00
Xiaoxi Wang
d1cc87452c merge with master; solve conflicts; solve initialization; 2020-08-02 22:44:07 +00:00
Xiaoxi Wang
c3a629588f add client transaction tag sample 2020-07-31 19:08:42 +00:00
Young Liu
bfa4eb9ab2 Resolve comments 2020-07-30 14:45:03 -07:00
Chaoguang Lin
a641429d63 Add an enum for implementation type and use for registeration 2020-07-27 12:29:03 -07:00
Young Liu
525f10e30c Merge master branch 2020-07-22 16:08:49 -07:00