Commit Graph

2292 Commits

Author SHA1 Message Date
Trevor Clinkenbeard 4b83d73f48
Merge pull request #5151 from sfc-gh-tclinkenbeard/fix-non-tls-build
Fix build with DISABLE_TLS=ON
2021-07-20 15:07:16 -07:00
Andrew Noyes ebc3368936 Don't include null terminator 2021-07-19 14:54:29 -07:00
Andrew Noyes 459e35f261 Static assert that LiteralStringRef arg is literal string 2021-07-19 14:10:37 -07:00
Steve Atherton c7bc79ad45 Merge branch 'fix-booleans' into fuheng/redWoodMetricsEnhancements 2021-07-17 02:10:14 -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
Steve Atherton 2fcc732c2a Merge branch 'master' of github.com:apple/foundationdb into redWoodMetricsEnhancements 2021-07-16 21:06:47 -07:00
Evan Tschannen a5e0e88df8 fix: reply promise streams could receive messages out of order if the sender and receiver were the same process 2021-07-15 15:27:49 -07:00
sfc-gh-fzhao af881298de
Merge branch 'apple:master' into redWoodMetricsEnhancements 2021-07-14 18:30:55 -07:00
Fuheng Zhao 08463e0a8b rename record_counter to count 2021-07-14 18:22:38 -07:00
Fuheng Zhao 1c7e3f08c2 format the files 2021-07-14 17:26:24 -07:00
Fuheng Zhao 126c87923f switch unitmapper to static arry 2021-07-14 16:31:13 -07:00
sfc-gh-tclinkenbeard 475abe301c Merge remote-tracking branch 'origin/master' into fix-ub 2021-07-14 10:47:02 -07:00
Fuheng Zhao 7dbe10617b format the code with devFormat 2021-07-12 16:07:18 -07:00
Fuheng Zhao 446b564a9d remove unnecessary include 2021-07-12 15:31:31 -07:00
sfc-gh-fzhao deea3452f2
Merge branch 'apple:master' into redWoodMetricsEnhancements 2021-07-12 15:00:16 -07:00
Markus Pilman ba5c2b647c
Merge pull request #5158 from sfc-gh-tclinkenbeard/use-variant-for-erroror
Use std::variant for ErrorOr implementation
2021-07-12 15:35:19 -06:00
Steve Atherton 9fd5f54992
Merge pull request #5142 from Daniel-B-Smith/threads-in-simulation
Enable IThreadPool in simulation
2021-07-12 14:24:34 -07:00
Jingyu Zhou 741c46f344
Merge pull request #5145 from nblintao/fix-printable
Fix printable bytes that may be escaped incorrectly
2021-07-12 13:51:37 -07:00
Fuheng Zhao 87abc8d302 resolve conflicts 2021-07-12 12:57:40 -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
Tao Lin e422d42fb2 Remove ASSERT_WE_THINK because of dependency 2021-07-12 10:20:27 -07:00
Tao Lin 5f7add5b8b Change ASSERT to ASSERT_WE_THINK 2021-07-12 10:08:28 -07:00
sfc-gh-tclinkenbeard 2276397159 Add perfect forwarding to Optional::map and Optional::orDefault 2021-07-12 02:33:51 -07:00
sfc-gh-tclinkenbeard 90c6d76349 Add rvalue reference overload for ErrorOr::map 2021-07-12 02:22:03 -07:00
sfc-gh-tclinkenbeard c31fa43b9d Use std::variant for ErrorOr implementation 2021-07-12 02:17:57 -07:00
sfc-gh-tclinkenbeard 41b4ace19a Added ENCRYPTION_ENABLED macro 2021-07-09 21:20:40 -07:00
sfc-gh-tclinkenbeard ad03a4787a Fix non-TLS build 2021-07-09 21:06:15 -07:00
Tao Lin 79ae18f97a Fix printable bytes that may be escaped incorrectly 2021-07-09 14:37:51 -07:00
sfc-gh-tclinkenbeard 382533c4e1 Add FDB_ prefix to BOOLEAN_PARAM macros 2021-07-09 05:42:14 -07:00
sfc-gh-tclinkenbeard bbce95da5f Undo changes unrelated to BOOLEAN_PARAM macro 2021-07-09 05:24:42 -07:00
Daniel Smith acfd0b6c1c Don't check the random number generator state at the end 2021-07-08 19:19:02 -04:00
Daniel Smith 3fbd6b6143 Enable IThreadPool in simulation 2021-07-08 18:51:01 -04:00
sfc-gh-tclinkenbeard 020371a78f Merge remote-tracking branch 'origin/master' into add-boolean-param 2021-07-07 16:50:51 -07:00
Trevor Clinkenbeard f5ade03538
Merge pull request #4233 from sfc-gh-tclinkenbeard/encrypt-backup-files
Added AsyncFileEncrypted
2021-07-07 13:28:28 -07:00
Fuheng Zhao fbded481f6 tight bound idx 2021-07-06 22:31:37 -07:00
Fuheng Zhao 0eeaf01883 clear buckets when upperBound is updated 2021-07-06 22:31:37 -07:00
Fuheng Zhao 069d52a3cf update trace information and fix minor errors 2021-07-06 22:31:37 -07:00
Fuheng Zhao f5c3634623 refactor histogram header file 2021-07-06 22:31:37 -07:00
Fuheng Zhao 3544d1e99e output sketches summary 2021-07-06 22:31:37 -07:00
Fuheng Zhao 8ba2991263 check in idx 2021-07-06 22:31:37 -07:00
Fuheng Zhao 7334ff8255 add assert idx back 2021-07-06 22:31:37 -07:00
Fuheng Zhao 2a870e1d95 extra check in getHeight function 2021-07-06 22:31:37 -07:00
Fuheng Zhao 7a039de787 fix error in mapping item to linear bucket, histogram class 2021-07-06 22:31:37 -07:00
Fuheng Zhao 34cd0d04d7 update redwoodmetrics structure; need to fix bug 2021-07-06 22:31:37 -07:00
Fuheng Zhao 87f8f89638 add drawHistogram method in histogram class 2021-07-06 22:31:37 -07:00
Fuheng Zhao 3497b96ace change histogram class static member variable to non-static 2021-07-06 22:31:37 -07:00
Fuheng Zhao 78316927b9 add recordCounter in histogram to track data from small ranges 2021-07-06 22:31:37 -07:00
Fuheng Zhao ab09a14778 add percentage unit to histogram class 2021-07-06 22:31:37 -07:00
Fuheng Zhao 9d1aeb3e1e initial draft on RedWoodMetrics changes 2021-07-06 22:31:37 -07:00
sfc-gh-tclinkenbeard 4ed23b8ee6 Addressed review comments 2021-07-06 21:20:59 -07:00