Steve Atherton
f596a81073
Rename ::TRUE and ::FALSE in BooleanParams to ::True and ::False so as to not conflict with the TRUE and FALSE macros provided by the Windows and MacOS SDKs.
2021-07-17 00:11:40 -07:00
sfc-gh-tclinkenbeard
4f853b19a6
More const-correctness improvements for Reference<AsyncVar<T>> objects
2021-07-12 21:28:38 -07:00
Evan Tschannen
15fe00927a
Merge branch 'master' of https://github.com/apple/foundationdb into feature-range-feed
...
# Conflicts:
# fdbcli/fdbcli.actor.cpp
# fdbclient/NativeAPI.actor.cpp
# fdbclient/StorageServerInterface.h
# fdbclient/SystemData.cpp
# fdbclient/SystemData.h
# fdbserver/storageserver.actor.cpp
# flow/ProtocolVersion.h
2021-07-12 19:10:14 -07:00
Andrew Noyes
4059215180
Value should not be present for ENABLE_RUN_LOOP_PROFILING
...
This fixes an unintentional change from
79ff07a071 . I reviewed other options
changed in that commit and this was the only one of its kind.
2021-07-12 16:07:56 -07:00
sfc-gh-tclinkenbeard
77cd95473d
Merge remote-tracking branch 'origin/master' into const-serverdbinfo
2021-07-12 11:00:22 -07:00
Josh Slocum
02f243c821
Merge pull request #5110 from sfc-gh-jslocum/tss_streaming_master
...
Added Streaming Read comparison for TSS
2021-07-12 10:44:15 -07:00
sfc-gh-tclinkenbeard
6c1d913ab8
Prevent masterServer from modifying db
2021-07-11 21:11:21 -07:00
sfc-gh-tclinkenbeard
ccffd6f47f
Fix option validation for DISABLE_CLIENT_STATISTICS_LOGGING
2021-07-04 19:06:39 -07:00
sfc-gh-tclinkenbeard
8cc40e3a2b
Expand use of BOOLEAN_PARAM
2021-07-02 21:41:50 -07:00
sfc-gh-tclinkenbeard
79ff07a071
Added *BOOLEAN_PARAM macros to enforce documentation of boolean parameters
2021-07-02 15:04:42 -07:00
Josh Slocum
9f1afbb709
Added Streaming Read comparison for TSS
2021-07-01 19:00:05 -05:00
Josh Slocum
ab0ab765c8
Merge pull request #4965 from sfc-gh-jslocum/tss_mapping_changes
...
TSS Mismatch Changes
2021-06-29 08:24:25 -07:00
Neethu Haneesha Bingi
73752f441b
exclude locality:clang-format, ranged loops, documentation, tracking addStoragesever for exclusion.
2021-06-23 18:03:27 -07:00
Neethu Haneesha Bingi
62355571d0
exclude servers based on locality match
2021-06-23 18:03:27 -07:00
Evan Tschannen
244e8f3527
Merge branch 'master' of https://github.com/apple/foundationdb into feature-streaming-reply-master
...
# Conflicts:
# fdbclient/CMakeLists.txt
# fdbclient/Knobs.h
# fdbserver/Knobs.h
2021-06-21 16:35:21 -07:00
Evan Tschannen
1cec223434
cherry pick streaming replies to master
2021-06-19 09:47:13 -07:00
Lukas Joswiak
2d248a5926
Collect actors waiting on disk and network
2021-06-17 16:50:34 -07:00
sfc-gh-tclinkenbeard
826e70916c
Merge remote-tracking branch 'origin/master' into config-db
2021-06-17 09:47:41 -07:00
Lukas Joswiak
805c4200ce
Add collector to get running actor name
2021-06-16 18:08:51 -07:00
RenxuanW
fe936207a9
Replace lower priority txn request when limit is hit.
2021-06-15 14:00:06 -07:00
Lukas Joswiak
0ff041222a
Add removals back
2021-06-13 18:23:59 -07:00
Lukas Joswiak
112be7a763
Remove most work
2021-06-13 16:19:02 -07:00
Josh Slocum
56dadaa428
TSS Mismatch Changes
2021-06-11 23:13:16 +00:00
sfc-gh-tclinkenbeard
41c790b299
Merge remote-tracking branch 'origin/master' into config-db
2021-06-10 22:31:23 -07:00
sfc-gh-tclinkenbeard
c272304e60
Manage global flow knobs with global knob collection
2021-06-09 22:33:00 -07:00
Josh Slocum
c6d96c4124
Added TSS Quarantine and fixed TSS mapping bug in CommitProxy
2021-06-09 14:42:50 +00:00
Xiaoxi Wang
838d847d4e
Merge pull request #4860 from sfc-gh-xwang/ppwtest
...
implement perpetual storage wiggling feature
2021-06-04 16:18:39 -07:00
Lukas Joswiak
486a04659f
Lazy inititialization
2021-06-04 15:01:18 -07:00
Josh Slocum
9b36f69b8d
Merge pull request #4892 from sfc-gh-jslocum/tss_mappingv2
...
TSS Mapping Change
2021-06-04 14:57:51 -07:00
Lukas Joswiak
153de33f57
Revert "Merge pull request #4802 from sfc-gh-ljoswiak/revert/actor-lineage"
...
This reverts commit 6499fa178e , reversing
changes made to 1512631957 .
2021-06-04 13:31:55 -07:00
Lukas Joswiak
ba25b95c6a
Fix global config not updating on server processes
2021-06-03 14:27:24 -07:00
Xiaoxi Wang
365b0bc4d8
better api
2021-06-03 19:57:44 +00:00
sfc-gh-tclinkenbeard
89dadf1475
Create IKnobCollection interface
2021-06-02 23:40:52 -07:00
Xiaoxi Wang
351325b3af
comment modification; wait perpetual wiggling close
2021-06-03 05:13:20 +00:00
Josh Slocum
b3e4f182ef
TSS Mapping Change
2021-06-02 17:30:09 +00:00
sfc-gh-tclinkenbeard
4c059670a0
Parse configuration knob values on the client
2021-06-02 10:04:46 -07:00
sfc-gh-tclinkenbeard
a775f92fca
Merge remote-tracking branch 'origin/master' into config-db
2021-06-01 15:39:34 -07:00
Xiaoxi Wang
8b9c8b33fc
manually merge with master
2021-06-01 17:51:42 +00:00
Josh Slocum
d67184163b
Merge pull request #4556 from sfc-gh-jslocum/tss
...
Testing Storage Server
2021-06-01 09:11:10 -07:00
A.J. Beamon
750901dd1d
Reduce the frequency that buggified reads are failed so that transactions with a lot of reads aren't doomed to almost always fail.
2021-05-27 21:54:59 -07:00
Xiaoxi Wang
24c0c3361a
change quietdatabase
2021-05-25 21:20:24 +00:00
Josh Slocum
4257ac2b4d
More TSS Changes/Fixes
2021-05-25 20:37:48 +00:00
Josh Slocum
ce82c9653e
Testing Storage Server implementation
2021-05-25 20:28:50 +00:00
Evan Tschannen
6165af81fa
Merge branch 'apple:master' into feature-range-feed
2021-05-21 15:21:34 -07:00
sfc-gh-tclinkenbeard
bb61a20851
Improve const-correctness of ISingleThreadTransaction
2021-05-15 00:23:21 -07:00
Lukas Joswiak
4ea760b2a9
Revert "Merge pull request #4136 from sfc-gh-mpilman/features/actor-lineage"
...
This reverts commit da41534618 , reversing
changes made to e6300905d6 .
2021-05-10 20:26:12 -07:00
sfc-gh-tclinkenbeard
331dd2e377
Replace config_transaction option with use_config_database
2021-05-10 13:18:31 -07:00
Lukas Joswiak
cdf98f987d
Revert "Fix global config not triggering changes on server processes"
2021-05-10 12:18:28 -07:00
Lukas Joswiak
71ba6f4501
Switch std::function to AsyncTrigger
2021-05-07 16:05:03 -07:00
Lukas Joswiak
0fc1552683
Fix global config updates not triggering on fdbserver processes
2021-05-06 15:46:34 -07:00
sfc-gh-tclinkenbeard
5c2d7b6080
Create RangeResult type alias
2021-05-03 13:14:16 -07:00
Lukas Joswiak
8dcd779fc4
Merge branch 'master' into features/actor-lineage
2021-05-02 14:11:42 -07:00
Evan Tschannen
2621c7153a
clang format PR
2021-04-30 10:41:35 -07:00
Evan Tschannen
d652287bae
Merge branch 'master' of https://github.com/apple/foundationdb into feature-range-feed
...
# Conflicts:
# fdbclient/DatabaseContext.h
# fdbclient/NativeAPI.actor.cpp
# fdbclient/StorageServerInterface.h
# fdbserver/storageserver.actor.cpp
2021-04-30 10:29:42 -07:00
Markus Pilman
f513543305
fix special keyspace register
2021-04-28 16:35:09 -06:00
Andrew Noyes
904a39e473
Merge pull request #4667 from sfc-gh-ajbeamon/feature-mvc-monitor-protocol-version
...
Use fewer connections in the multi-version client
2021-04-28 14:13:17 -07:00
Markus Pilman
f5b0008346
Merge branch 'features/actor-lineage' into features/actor-lineage-fluentd
2021-04-28 09:31:20 -06:00
Markus Pilman
54919d4f3b
Merge remote-tracking branch 'sfc/features/actor-lineage' into features/actor-lineage
2021-04-28 09:22:14 -06:00
Markus Pilman
4fab2ecd30
Merge remote-tracking branch 'origin/master' into features/actor-lineage
2021-04-28 09:20:54 -06:00
Markus Pilman
2d6fafde64
Implemented configuration
2021-04-27 10:26:42 -06: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
Lukas Joswiak
52bba82e8e
Add window size configuration key
2021-04-23 14:05:05 -07:00
Markus Pilman
a6a8a97e1f
Merge remote-tracking branch 'sfc/features/actor-lineage' into features/actor-lineage-instrument
2021-04-22 17:50:36 -06:00
Lukas Joswiak
15336ca274
Add callback for specific global configuration key changes
2021-04-20 17:51:38 -07:00
A.J. Beamon
eaaae2e16d
Merge branch master into 'feature-mvc-monitor-protocol-version'
2021-04-20 15:07:02 -07:00
Markus Pilman
d76b32da18
Annotate read paths on the server side
2021-04-20 15:10:01 -06:00
Chaoguang Lin
b34825a0e6
Merge branch 'master' of github.com:apple/foundationdb into add-dd-and-maintenance
2021-04-19 14:52:10 -07:00
Markus Pilman
51ce278d2d
Merge branch 'features/actor-lineage' into features/actor-lineage-collector
2021-04-19 12:55:29 -06:00
Markus Pilman
09ddcb3bae
remove old sample thread
2021-04-19 11:55:35 -06:00
Markus Pilman
7307750e5e
Merge remote-tracking branch 'origin/master' into features/actor-lineage
2021-04-19 11:29:52 -06:00
Markus Pilman
c8e9e2fab4
Merge remote-tracking branch 'sfc/features/actor-lineage' into features/actor-lineage-collector
2021-04-16 17:33:40 -06:00
Lukas Joswiak
551268b0f2
Add well known endpoint for worker communication
2021-04-15 13:50:50 -07:00
A.J. Beamon
486260e944
Fix infinite loop with stable interface protocol monitoring. Fix case where getting an error with a network option didn't properly terminate the database connection. Reduce option lock critical section.
2021-04-15 13:36:31 -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
Markus Pilman
d51f94f16e
Merge pull request #4330 from sfc-gh-ljoswiak/features/global-configuration
...
Add global configuration framework implementation
2021-04-14 16:10:08 -06: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
Lukas Joswiak
7de23918c0
Add comments, fix erase bug, make optimizations
2021-04-14 10:56:33 -07:00
Lukas Joswiak
6de28dd916
clang-format
2021-04-14 10:56:33 -07:00
Lukas Joswiak
4a799baa1d
Add clear range for global configuration
2021-04-14 10:56:32 -07:00
Lukas Joswiak
c3f68831af
Move existing ClientDBInfo variables to global configuration
2021-04-14 10:56:32 -07:00
Lukas Joswiak
f1415412f1
Add global configuration framework implementation
2021-04-14 10:56:32 -07:00
A.J. Beamon
eab468fecc
Remove extra line caused by commit issue
2021-04-14 09:32:48 -07:00
Markus Pilman
1d362d8869
Merge remote-tracking branch 'origin/master' into features/actor-lineage
2021-04-14 09:55:04 -06:00
A.J. Beamon
feede1d2f6
Fix line length of test macro + comments to be within the 120 character limit
2021-04-13 10:48:52 -07:00
Markus Pilman
ed8d43cb87
Merge pull request #5 from sfc-gh-ljoswiak/features/network-actors
...
Sample actors waiting on network
2021-04-09 15:07:53 -06:00
Lukas Joswiak
5c79d29140
Use object lifetimes instead of function calls
2021-04-07 10:59:45 -07:00
Lukas Joswiak
c481ba2cfa
Update annotation class name
2021-04-06 17:32:02 -07:00
Lukas Joswiak
433872e17d
Sample actors waiting on network
2021-04-06 17:28:28 -07:00
Chaoguang Lin
747fa2a353
Merge branch 'master' of github.com:apple/foundationdb into add-dd-and-maintenance
2021-03-26 12:22:37 -07:00
Chaoguang Lin
0eff74f205
Add special keys for maintenance and datadistribution
2021-03-26 12:19:33 -07:00
Nim Wijetunga
de1c354b12
address pr comments
2021-03-23 20:56:37 +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
Nim Wijetunga
822cbf895d
address pr comments
2021-03-16 23:29:02 +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
17f9da6962
remove traces
2021-03-16 16:47:50 +00:00
Andrew Noyes
191230a7b3
Factor our refreshTransaction gadget
2021-03-16 00:51:20 +00:00
Nim Wijetunga
f0d79b3d86
Inital implementation of network busyness
2021-03-15 23:23:56 +00:00
Andrew Noyes
d45481decc
Fix broken_promise bug
2021-03-13 01:16:27 +00:00
Andrew Noyes
6cacf3e002
Fix potential heap-use-after-free
...
If we destroy tr here then we might not be able to dereference |self|.
Keep the window where |self| might have been deleted small.
2021-03-12 00:26:26 +00:00
Andrew Noyes
a76c7b9754
Fix several memory leaks and a thread leak
2021-03-11 23:58:32 +00:00
Vishesh Yadav
2c316db94d
Merge remote-tracking branch 'apple/master' into master-format-final
...
Also format the changes
2021-03-11 12:54:26 -08:00
Andrew Noyes
be980ebb55
Merge pull request #4354 from sfc-gh-clin/add-advanceversion
...
Add advanceversion into special keys
2021-03-11 11:43:53 -08:00
Vishesh Yadav
d7252da951
clang-format: Fix the TEST() macros which require comments in line
2021-03-10 16:50:53 -08:00
Chaoguang Lin
7404a29d58
Merge branch 'master' of github.com:apple/foundationdb into add-dd-and-maintenance
2021-03-10 11:47:39 -08:00
FDB Formatster
df90cc89de
apply clang-format to *.c, *.cpp, *.h, *.hpp files
2021-03-10 10:18:07 -08:00
Evan Tschannen
6cfba6e54b
added support for popping rangefeeds
2021-03-05 11:46:33 -08:00
Evan Tschannen
21822e4949
more fixes
2021-03-04 19:46:32 -08:00
Evan Tschannen
adaa67df63
fix registerRangeFeedActor
2021-03-04 19:42:36 -08:00
Evan Tschannen
bc757f3e4b
basic framework for range feed support
2021-03-04 19:14:54 -08:00
Andrew Noyes
79cec09255
Apply clang-tidy's performance-inefficient-vector-operation fix
...
I ran this command in my build directory after compiling with
OPEN_FOR_IDE. It took a few small tweaks to get it to compile, which is
outside the scope of this commit.
$ python run-clang-tidy.py -j $(nproc) -checks='-*,performance-inefficient-vector-operation' -fix
2021-03-04 03:58:25 +00:00
Chaoguang Lin
9ce9cba0e5
Merge branch 'master' of github.com:apple/foundationdb into add-advanceversion
2021-02-19 14:29:08 -08:00
Chaoguang Lin
703107332a
Add special keys for profile client get/set
2021-02-19 12:22:00 -08:00
Andrew Noyes
9fb396e372
Merge pull request #4255 from sfc-gh-clin/add-coordinators-into-special-keys
...
Add coordinators into special keys
2021-02-18 18:26:07 -08:00
Nim Wijetunga
fa3834f115
fix bug
2021-02-18 18:23:28 -05:00
Chaoguang Lin
ac860b3c22
Add advanceversion into special keys
2021-02-18 01:27:14 -08:00
Andrew Noyes
c075415a51
Merge pull request #4344 from sfc-gh-ljoswiak/fixes/remove-async-tracer
...
Remove async tracer
2021-02-17 09:43:24 -08:00
Chaoguang Lin
f3a849de10
Update ChangeConfig test for auto coordinators change
2021-02-16 23:55:58 -08:00
Lukas Joswiak
30d2d9ff82
Remove async tracer
2021-02-16 16:36:33 -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
a59f07e6fe
address pr comment
2021-02-16 13:32:03 -05:00
Nim Wijetunga
13e4f6d7e1
small formatting fix
2021-02-12 12:57:33 -05:00
Nim Wijetunga
058557a3b1
fix pr issues
2021-02-11 15:51:37 -05:00
Nim Wijetunga
270a18f089
formatting fixes
2021-02-10 13:19:59 -05:00
Nim Wijetunga
7acfeda955
cleanup
2021-02-09 20:57:16 -05:00
Nim Wijetunga
386e3b0838
minor change
2021-02-09 18:36:45 -05:00
Nim Wijetunga
4982679ef2
change function name
2021-02-09 18:06:36 -05:00
Nim Wijetunga
3b48942f9a
resolve pr comments
2021-02-09 17:56:30 -05:00
Nim Wijetunga
d2233ffa5a
whitespace change
2021-02-09 13:38:24 -05:00
Nim Wijetunga
82e9f54938
small change
2021-02-09 13:36:44 -05:00
Nim Wijetunga
2d46cfcb80
remove traces
2021-02-09 13:33:19 -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
Nim Wijetunga
83af53b1bb
correctness fixes
2021-02-05 19:23:37 -05:00
Chaoguang Lin
a85458dd1e
Merge branch 'master' of github.com:apple/foundationdb into add-c-function-snapshot
2021-02-05 14:14:52 -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
6c687067a6
refactor
2021-02-04 12:51:53 -05: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
Nim Wijetunga
c67aac8212
remove the use of pointers
2021-02-02 13:26:12 -05:00
Nim Wijetunga
6f38105e48
fix issue with case 4
2021-02-01 19:07:14 -05:00
Nim Wijetunga
6bee8ac0aa
Inital implementation
2021-02-01 18:42:13 -05:00
Chaoguang Lin
c2aedb0b94
clang-format, remove comments
2021-01-29 18:20:09 -08:00
Chaoguang Lin
7d32045506
Merge branch 'master' of github.com:apple/foundationdb into add-coordinators-into-special-keys
2021-01-29 11:46:01 -08:00
Chaoguang Lin
e1182f2f86
Add coordinators to special keys
2021-01-29 11:45:52 -08:00
Vishesh Yadav
5b5dd0a0d4
Merge pull request #4204 from sfc-gh-ljoswiak/features/network-tracer
...
Add network option to set tracer in fdbclient
2021-01-27 20:00:49 -08:00
Chaoguang Lin
5f912f0deb
Add snapshot c function
2021-01-26 11:53:35 -08:00
sfc-gh-tclinkenbeard
7558cd8e06
Merge remote-tracking branch 'origin/master' into simplify-global-knobs
2021-01-26 10:00:25 -08:00