1
0
mirror of https://github.com/apple/foundationdb.git synced 2025-05-23 15:36:56 +08:00

1845 Commits

Author SHA1 Message Date
sfc-gh-tclinkenbeard
95eaa5e866 Merge remote-tracking branch 'origin/master' into misc-changes 2021-01-13 21:14:36 -08:00
Markus Pilman
2a24857cfa
Merge pull request from skunkwerks/fix/avoid-preprocesor-clash
build: don't clash with FreeBSD native defines
2021-01-12 10:33:21 -07:00
Markus Pilman
2609c3d619
Merge pull request from sfc-gh-tclinkenbeard/improve-type-safety
Make enums automatically binary serializable
2021-01-12 10:31:34 -07:00
Dave Cottlehuber
2daa4d33af flow: fix compilation error on FreeBSD 2021-01-04 13:41:53 +00:00
Dave Cottlehuber
96a37e4d46 build: don't clash with FreeBSD native defines
FreeBSD has an existing CACHE_LINE_SIZE parameter as a platform-specific define.

```
# /usr/include/machine/param.h
/*
 * CACHE_LINE_SIZE is the compile-time maximum cache line size for an
 * architecture.  It should be used with appropriate caution.
 */
#define CACHE_LINE_SHIFT        6
#define CACHE_LINE_SIZE         (1 << CACHE_LINE_SHIFT)
```
2021-01-04 13:13:06 +00:00
sfc-gh-tclinkenbeard
21d7620922 TDMetric optimizations 2020-12-26 22:50:34 -04:00
sfc-gh-tclinkenbeard
5bfa6cea98 Merge remote-tracking branch 'origin/master' into misc-changes 2020-12-26 20:47:00 -04:00
Andrew Noyes
9601769b01
Merge pull request from sfc-gh-rchen/stable_interfaces
Stable interfaces
2020-12-11 09:34:27 -08:00
Andrew Noyes
128c758edc Set special sanitizer annotations in stacktrace.amalgamation.cpp
That's the only place they're needed. This fixes at least the USE_TSAN
build and possibly other sanitizer builds
2020-12-11 02:08:02 +00:00
Markus Pilman
9344a5fd0a Fix Coro ucontext bug introduced in 2020-12-09 12:25:31 -07:00
Andrew Noyes
922057bb8a
Merge pull request from sfc-gh-mpilman/features/flow-config
Move compiler definitions into config file
2020-12-08 13:19:25 -08:00
sfc-gh-tclinkenbeard
afa8e78911 Fix Debouncer move constructor and move assignment operator
Moving the Debouncer did not previously move the worker future
2020-12-08 09:09:33 -08:00
sfc-gh-tclinkenbeard
c8786a65c3 Remove unnecessary uses of virtual 2020-12-08 09:09:33 -08:00
sfc-gh-tclinkenbeard
5059228e9e Use unique_ptr for TraceEvent::tmpEventMetric 2020-12-08 09:09:32 -08:00
sfc-gh-tclinkenbeard
b8a55dd097 Use unique_ptr for PImpl 2020-12-08 09:09:32 -08:00
sfc-gh-tclinkenbeard
882ea49b2e Make Profiler::active_profiler a unique pointer 2020-12-08 09:09:32 -08:00
sfc-gh-tclinkenbeard
fad43687d1 Make g_net2 a unique_ptr 2020-12-08 09:09:31 -08:00
sfc-gh-tclinkenbeard
c324e80663 Use unique_ptr for g_tracer 2020-12-08 09:09:31 -08:00
sfc-gh-tclinkenbeard
baf751e706 Use unique_ptr for DynamicEventMetric fields 2020-12-08 09:09:30 -08:00
sfc-gh-tclinkenbeard
29e10d1418 Modernize TDMetric signatures 2020-12-08 09:09:30 -08:00
sfc-gh-tclinkenbeard
d15441e85c Replace non-standard sealed with final 2020-12-08 09:09:30 -08:00
sfc-gh-tclinkenbeard
2b92cfbde8 Fix Net2 method signatures 2020-12-08 09:09:30 -08:00
Trevor Clinkenbeard
9581bc0279
Merge pull request from sfc-gh-anoyes/anoyes/merge-release-6.3-master
Merge release 6.3 master
2020-12-08 08:57:54 -08:00
Markus Pilman
a1f7c74ac4
Merge pull request from sfc-gh-ljoswiak/features/tracing-options
Let client disable tracing
2020-12-07 17:40:09 -07:00
Markus Pilman
f97cb9b41a remove USE_UCONTEXT (as this didn't exist before) 2020-12-07 11:26:08 -07:00
Andrew Noyes
7fbc4d7391 Resolve conflicts 2020-12-04 23:58:42 +00:00
Andrew Noyes
877997632d Merge branch 'release-6.3' into anoyes/merge-release-6.3-master
Include conflict markers for review purposes
2020-12-04 01:38:07 +00:00
Lukas Joswiak
3669615e4b Refactor and clean up 2020-12-03 14:06:11 -08:00
Richard Chen
c77d9e4abe merge conflicts 2020-12-02 21:53:19 +00:00
Markus Pilman
b04f09b29b address review comments 2020-11-25 16:23:36 -07:00
Markus Pilman
dae8ea24ad Move compiler definitions into config file 2020-11-25 15:06:59 -07:00
Markus Pilman
18ba83fc3d
Merge pull request from sfc-gh-anoyes/anoyes/release-6.3-merge
Merge release-6.2 into release-6.3 and fix conflicts
2020-11-25 11:16:05 -07:00
Andrew Noyes
dc2bac5670 Resolve conflicts 2020-11-24 19:09:42 +00:00
Andrew Noyes
1f541f02be Merge branch 'anoyes/merge-6.2-to-6.3' into anoyes/release-6.3-merge
Merge, leaving conflict markers for now
2020-11-24 16:55:34 +00:00
sfc-gh-tclinkenbeard
aa07df6a91 Backport to 6.3 the ability to read xxhash3 checksum for sqlite pages 2020-11-24 00:28:49 -08:00
Andrew Noyes
823337a2e1 Reserve error code 1215 for dd_tracker_cancelled 2020-11-23 14:51:40 -08:00
Andrew Noyes
231a7a10d0
Merge pull request from sfc-gh-tclinkenbeard/sqlite-xxhash3-checksum
Sqlite xxhash3 checksum
2020-11-23 10:43:35 -08:00
sfc-gh-tclinkenbeard
156a617ed8 Replace xxhash64 with xxhash3
The goal here is to improve performance
2020-11-21 18:25:35 -08:00
Markus Pilman
615029a393
Merge pull request from sfc-gh-dyoungworth/dyoungworth/merge_6_3_master
merge 6 3 master
2020-11-19 20:53:51 -07:00
Markus Pilman
67944f6899
Merge pull request from sfc-gh-dyoungworth/dyoungworth/addDateTimeToTrace2
add date time to trace (release 6.2)
2020-11-19 17:44:44 -07:00
David Youngworth
b1256b5dcd Address review comments, simplify DateTime 2020-11-18 16:55:47 -08:00
David Youngworth
5ade54f767 Fix windows build, DateTime to use UTC 2020-11-18 16:55:12 -08:00
David Youngworth
490fe61032 Fix bug in rolled Trace code 2020-11-18 16:55:06 -08:00
David Youngworth
50e515c29a Add DateTime to trace, initial commit 2020-11-18 16:54:49 -08:00
sfc-gh-tclinkenbeard
bcda617b80 Benchmark hashing algorithms in flowbench 2020-11-17 23:14:55 -08:00
David Youngworth
fc9b78737f Fix some merge bugs 2020-11-17 14:53:02 -08:00
Markus Pilman
659f58d28d
Merge pull request from sfc-gh-ljoswiak/features/simulation-tracing
Open random tracer in simulation
2020-11-17 14:27:18 -07:00
Lukas Joswiak
1506ed5a46 Don't write traces to log file in simulation 2020-11-17 11:26:10 -08:00
David Youngworth
d64cf8b9e3 Merge branch 6.3 into master 2020-11-17 11:22:45 -08:00
Lukas Joswiak
71d0b1da85 Open random tracer in simulation 2020-11-17 09:51:19 -08:00