Steve Atherton
|
e5e8a56b66
|
Merge branch 'master' of https://github.com/apple/foundationdb into debugging-cleanup
# Conflicts:
# fdbbackup/FileDecoder.actor.cpp
|
2021-08-09 23:36:57 -07:00 |
Andrew Noyes
|
ecc078a42f
|
Fix TSAN warnings
Avoid doing thread-unsafe things in the ReadYourWritesTransaction
default constructor since we now will be calling it in a foreign thread.
Here's the warning we're fixing:
Write of size 8 at 0x7b6800000398 by thread T1:
#0 N2::Net2::updateNow() /home/jenkins/fdb/extra/long/path/to/work/around/strange/cpack/debug/rpm/behavior/flow/Net2.actor.cpp:192:33 (libfdb_c.so+0xe74568)
#1 N2::Net2::run() /home/jenkins/fdb/extra/long/path/to/work/around/strange/cpack/debug/rpm/behavior/flow/Net2.actor.cpp:1459:3 (libfdb_c.so+0xe74568)
#2 runNetwork() /home/jenkins/fdb/extra/long/path/to/work/around/strange/cpack/debug/rpm/behavior/fdbclient/NativeAPI.actor.cpp:2036:13 (libfdb_c.so+0x575004)
#3 ThreadSafeApi::runNetwork() /home/jenkins/fdb/extra/long/path/to/work/around/strange/cpack/debug/rpm/behavior/_build/../fdbclient/ThreadSafeTransaction.cpp:445:3 (libfdb_c.so+0xcda9cc)
#4 MultiVersionApi::runNetwork() /home/jenkins/fdb/extra/long/path/to/work/around/strange/cpack/debug/rpm/behavior/fdbclient/MultiVersionTransaction.actor.cpp:1741:20 (libfdb_c.so+0x4eab8d)
#5 fdb_run_network /home/jenkins/fdb/extra/long/path/to/work/around/strange/cpack/debug/rpm/behavior/_build/../bindings/c/fdb_c.cpp:130:2 (libfdb_c.so+0x4bb425)
#6 decltype(std::__1::forward<int (*)()>(fp)()) std::__1::__invoke<int (*)()>(int (*&&)()) /usr/local/bin/../include/c++/v1/type_traits:3899:1 (fdb_c_unit_tests+0x389816)
#7 void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, int (*)()>(std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, int (*)()>&, std::__1::__tuple_indices<>) /usr/local/bin/../include/c++/v1/thread:280:5 (fdb_c_unit_tests+0x389816)
#8 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, int (*)()> >(void*) /usr/local/bin/../include/c++/v1/thread:291:5 (fdb_c_unit_tests+0x389816)
Previous read of size 8 at 0x7b6800000398 by main thread:
#0 N2::Net2::now() const /home/jenkins/fdb/extra/long/path/to/work/around/strange/cpack/debug/rpm/behavior/flow/Net2.actor.cpp:160:39 (libfdb_c.so+0xe7ea5d)
#1 Span::Span(UID, Location, std::initializer_list<UID> const&) /home/jenkins/fdb/extra/long/path/to/work/around/strange/cpack/debug/rpm/behavior/_build/../flow/Tracing.h:38:41 (libfdb_c.so+0x5837b4)
#2 Transaction::Transaction() /home/jenkins/fdb/extra/long/path/to/work/around/strange/cpack/debug/rpm/behavior/fdbclient/NativeAPI.actor.cpp:4092:64 (libfdb_c.so+0x5837b4)
#3 ReadYourWritesTransaction::ReadYourWritesTransaction() /home/jenkins/fdb/extra/long/path/to/work/around/strange/cpack/debug/rpm/behavior/_build/../fdbclient/ReadYourWrites.h:134:2 (libfdb_c.so+0x7cb4a8)
#4 ISingleThreadTransaction::allocateOnForeignThread(ISingleThreadTransaction::Type) /home/jenkins/fdb/extra/long/path/to/work/around/strange/cpack/debug/rpm/behavior/_build/../fdbclient/ISingleThreadTransaction.cpp:29:17 (libfdb_c.so+0xcf785f)
#5 ThreadSafeTransaction::ThreadSafeTransaction(DatabaseContext*, ISingleThreadTransaction::Type) /home/jenkins/fdb/extra/long/path/to/work/around/strange/cpack/debug/rpm/behavior/_build/../fdbclient/ThreadSafeTransaction.cpp:149:23 (libfdb_c.so+0xcc9540)
#6 ThreadSafeDatabase::createTransaction() /home/jenkins/fdb/extra/long/path/to/work/around/strange/cpack/debug/rpm/behavior/_build/../fdbclient/ThreadSafeTransaction.cpp:50:37 (libfdb_c.so+0xcc4b1c)
#7 fdb_database_create_transaction /home/jenkins/fdb/extra/long/path/to/work/around/strange/cpack/debug/rpm/behavior/_build/../bindings/c/fdb_c.cpp:332:2 (libfdb_c.so+0x4bce1d)
#8 fdb::Transaction::Transaction(FDB_database*) /home/jenkins/fdb/extra/long/path/to/work/around/strange/cpack/debug/rpm/behavior/_build/../bindings/c/test/unit/fdb_api.cpp:111:24 (fdb_c_unit_tests+0x3925d0)
#9 _DOCTEST_ANON_FUNC_10() /home/jenkins/fdb/extra/long/path/to/work/around/strange/cpack/debug/rpm/behavior/_build/../bindings/c/test/unit/unit_tests.cpp:250:19 (fdb_c_unit_tests+0x32a7a8)
#10 doctest::Context::run() /home/jenkins/fdb/extra/long/path/to/work/around/strange/cpack/debug/rpm/behavior/_build/doctest/src/doctest/doctest/doctest.h:6112:21 (fdb_c_unit_tests+0x3262e4)
#11 main /home/jenkins/fdb/extra/long/path/to/work/around/strange/cpack/debug/rpm/behavior/_build/../bindings/c/test/unit/unit_tests.cpp:2286:20 (fdb_c_unit_tests+0x36303d)
|
2021-08-09 11:16:52 -07:00 |
Steve Atherton
|
2bf7b9b7a9
|
Remove many calls to .toString(), .printable(), and printable(...) from TraceEvent .detail() values to avoid double-escaping characters such that the same values look different in different events and can't be easily searched for. Also fixed a few warnings found by clang.
|
2021-08-08 00:04:54 -07:00 |
Andrew Noyes
|
39eff8c569
|
Add trace_partial_file_suffix network option
|
2021-08-03 09:43:42 -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 |
Steve Atherton
|
507c1f11e3
|
Add .log() to bare TraceEvent() invocations without any .detail()s to avoid clang-tidy warning about immediate destruction of object without use.
|
2021-07-26 19:55:10 -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
|
64dc1dc185
|
Fix -Wreorder-ctor warnings in NativeAPI.actor.cpp and several other files
|
2021-07-24 00:23:06 -07:00 |
sfc-gh-tclinkenbeard
|
6f81155784
|
Merge remote-tracking branch 'origin/master' into const-serverdbinfo
|
2021-07-20 10:18:40 -07:00 |
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 |
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 |
sfc-gh-tclinkenbeard
|
826e70916c
|
Merge remote-tracking branch 'origin/master' into config-db
|
2021-06-17 09:47:41 -07:00 |
RenxuanW
|
fe936207a9
|
Replace lower priority txn request when limit is hit.
|
2021-06-15 14:00:06 -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 |
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
|
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 |
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 |