Trevor Clinkenbeard
8debe8fcce
Remove unused includes and dependencies
2026-07-12 09:54:20 -07:00
Trevor Clinkenbeard
fe42e6fd79
Enforce clang-tidy braces around long statements
2026-06-22 23:01:11 -07:00
Pierce Lopez
53fb3e71bf
fix: platform::getRandomSeed() win32 code missing parenthesis
...
bug introduced in 49bd7f489c - apple/foundationdb#13136
2026-06-05 09:54:39 -04:00
Trevor Clinkenbeard
72d5e13f2e
Clean up boolean comparisons
2026-05-21 12:25:08 -07:00
Pierce Lopez
49bd7f489c
64-bit DeterministicRandom() seed and getRandomSeed() ( #13136 )
...
DeterministicRandom() can use a boost::random::mt19937_64
to take a 64-bit seed and return 64-bit random values,
and this simplifies things because fdb always wants 64 bits.
Performance should be slightly better because the 32-bit
mt19937 was always called twice to get 64 bits.
2026-05-07 19:28:19 -04:00
Rahul Kodali
4665c6e0f5
fix: use thread-local mt19937_64 for automatic idempotency ID ( #13135 )
...
* fix: use thread-local mt19937_64 for automatic idempotency ID
* feat: add platform::getRandomBytes and use it for idempotency IDs
* fix: pr fixes + getentropy support
* fix: pr review changes
2026-05-07 12:39:50 -07:00
Trevor Clinkenbeard
e38baf18ea
Fix more clang-tidy warnings
2026-04-15 14:23:33 +00:00
Trevor Clinkenbeard
a5271c96c0
Fix error handling
2026-04-13 02:25:46 +00:00
Trevor Clinkenbeard
07d7550591
Fix formatting
2026-04-12 15:52:14 -07:00
Trevor Clinkenbeard
ba8e3ba2c2
Remove unnecessary indirection
2026-04-12 22:41:05 +00:00
Trevor Clinkenbeard
6076cb07c5
Update return types to AsyncResult
2026-04-12 22:41:05 +00:00
Trevor Clinkenbeard
bf00cbf1c0
Rename *.actor.* files
2026-04-12 22:41:05 +00:00
David Youngworth
9cdc96165e
Rename to Platform.actor.cpp
2020-05-20 13:37:39 -07:00
David Youngworth
791d6e61a3
Consolidate Platform.cpp
2020-05-20 13:29:53 -07:00
David Youngworth
5877994f53
Make platform::findFiles asynchronous
2020-05-06 10:40:08 -07:00
Dave Cottlehuber
5d1513cf26
flow/platform.cpp
2020-04-30 18:11:23 +00:00
Dave Cottlehuber
a380a3779f
flow: look for plugins in the platform-specific place
2020-04-30 18:11:23 +00:00
Dave Cottlehuber
4bb65e6a3c
flow: provide more FreeBSD-specific counters
2020-04-30 18:11:23 +00:00
Dave Cottlehuber
0fbcf258de
flow: use cpuset
2020-04-30 18:11:23 +00:00
Dave Cottlehuber
95bc24de11
flow: update headers and includes
2020-04-30 18:11:23 +00:00
Evan Tschannen
c87aa33941
Merge branch 'release-6.2'
...
# Conflicts:
# CMakeLists.txt
# bindings/go/src/fdb/generated.go
# documentation/sphinx/source/api-common.rst.inc
# documentation/sphinx/source/api-ruby.rst
# documentation/sphinx/source/release-notes.rst
# fdbclient/FailureMonitorClient.actor.cpp
# fdbclient/NativeAPI.actor.cpp
# fdbclient/vexillographer/fdb.options
# fdbrpc/FlowTransport.actor.cpp
# fdbserver/OldTLogServer_6_0.actor.cpp
# fdbserver/TLogServer.actor.cpp
# fdbserver/fdbserver.actor.cpp
# versions.target
2020-04-23 13:47:53 -07:00
A.J. Beamon
e104a2e3a6
Merge commit 'cf01233f28a2c42908656a39f458a4475c1d44a3' into run-loop-busy-profiler
...
# Conflicts:
# documentation/sphinx/source/release-notes.rst
# fdbclient/NativeAPI.actor.h
# fdbserver/fdbserver.actor.cpp
# flow/Net2.actor.cpp
2020-04-14 14:02:24 -07:00
Andrew Noyes
c0bae64105
Use sigaction, _exit if anything fails
2020-03-20 12:50:31 -07:00
Andrew Noyes
bed5d4733a
Fix syntax
2020-03-18 11:00:02 -07:00
Andrew Noyes
0d4f49f02f
Run default signal handler after custom signal handler
2020-03-18 10:54:47 -07:00
Evan Tschannen
e08f0201f1
merge release 6.2 into master
2020-03-17 12:51:47 -07:00
tclinken
2017daf7d4
Ignore createDirectory error if directory already exists
2020-03-06 16:48:23 -08:00
Evan Tschannen
c11c24b79d
removed the fdbrpc version of platform.h
2020-02-28 14:56:10 -08:00
Evan Tschannen
6054c05963
Merge branch 'release-6.2'
...
# Conflicts:
# CMakeLists.txt
# documentation/sphinx/source/release-notes.rst
# fdbserver/fdbserver.actor.cpp
# versions.target
2020-02-28 12:11:05 -08:00
Evan Tschannen
2586bade68
re-added support for configuration TLS options with environment variables
2020-02-26 15:33:48 -08:00
A.J. Beamon
182dac7cd5
Convert the slow task profiler into a run loop profiler that also logs when the run loop is 100% busy for a knob-configurable duration.
2020-01-28 12:09:37 -08:00
Evan Tschannen
3f9d9d8b84
Merge branch 'release-6.2'
...
# Conflicts:
# CMakeLists.txt
# cmake/FlowCommands.cmake
# documentation/sphinx/source/release-notes.rst
# fdbclient/StorageServerInterface.h
# fdbserver/DataDistributionTracker.actor.cpp
# fdbserver/MasterProxyServer.actor.cpp
# fdbserver/fdbserver.actor.cpp
# flow/Knobs.h
# flow/Platform.cpp
# versions.target
2020-01-16 18:37:47 -08:00
Alvin Moore
7628d04fb9
Merge branch 'release-6.2' of github.com:apple/foundationdb into release_6.2_merge
...
# Conflicts:
# documentation/sphinx/source/release-notes.rst
2020-01-09 07:21:16 -08:00
A.J. Beamon
de5a591b15
Attempt a minor pointless change to fix the build
2020-01-06 15:17:13 -08:00
A.J. Beamon
6cf38790d6
Reorganize declaration of variable and add release note.
2020-01-06 12:27:56 -08:00
A.J. Beamon
4a52864023
Remove call of timer() from the slow task profiling signal handler, as it can lead to crashes if called at the wrong time.
2020-01-06 12:19:45 -08:00
A.J. Beamon
3b28c7f103
Throw the correct error in deleteFile
2019-12-19 14:13:09 -08:00
Andrew Noyes
4022ca1381
Add USE_UBSAN cmake option
2019-12-02 16:20:06 -08:00
Meng Xu
d0147e5e5d
Merge branch 'release-6.2' into mengxu/merge-release620-to-master-v3
...
Resolved Conflicts:
documentation/sphinx/source/release-notes.rst
fdbserver/DataDistribution.actor.cpp
versions.target
2019-10-02 13:22:56 -07:00
Andrew Noyes
c967fa55cc
Add USE_UBSAN cmake option
2019-09-26 13:44:28 -07:00
Alvin Moore
2bbaa917f8
Switched out C style cast to more favorable type
2019-09-24 11:22:24 -07:00
Alvin Moore
6354e63269
Added parenthesis around ntohl value to resolve problem with CLANG compiler
2019-09-24 11:22:24 -07:00
A.J. Beamon
de4686d6eb
Add OS guards to setProfilingEnabled function.
2019-08-27 08:37:47 -07:00
A.J. Beamon
e465cbef07
Merge branch 'master' into remove-dl-iterate-phdr-hack
...
# Conflicts:
# fdbserver/fdbserver.actor.cpp
2019-08-22 10:13:23 -07:00
mpilman
6b8b666ef6
Write object address in probes
2019-07-30 18:36:10 -07:00
mpilman
884628bc0a
moved actor probes to function
2019-07-30 18:36:10 -07:00
A.J. Beamon
6a899ddff3
Remove dl_iterate_phdr results caching that is used by slow task profiler, instead favoring disabling and reenabling profiling around the call. Add a mechanism to handle deferred profile requests.
2019-07-03 12:48:36 -07:00
mpilman
7efdf492ce
Fixed two silly compilation bugs
2019-06-27 10:29:59 -07:00
Alec Grieser
e5d02b7ad4
use _WIN32 to determine platform instead of __WIN32__
2019-06-26 11:55:26 -07:00
mpilman
c8957d93f8
Implementation code complete
2019-06-19 13:03:41 -07:00