Josh Slocum
1b4753a4d4
Fix chunked reads ( #9246 )
...
* removing chunked read loop
* reducing memory overhead of async file block cache by freeing some blocks during read if no longer needed
2023-01-30 13:43:24 -06:00
Chaoguang Lin
4c5cbe6cda
Merge branch 'main' of github.com:apple/foundationdb into fix-nightly-failure
2023-01-25 18:43:37 -08:00
Chaoguang Lin
fce9490c19
A Fix from Evan
2023-01-25 15:55:24 -08:00
Xiaoge Su
348e49d84f
Update the license in the files
2023-01-24 15:12:31 -08:00
Xiaoge Su
eb4e147ebf
Reformat source
2023-01-24 15:06:27 -08:00
Xiaoge Su
85d64ce8fe
Remove dependency of IConnection.h from simulator.h
2023-01-24 14:48:58 -08:00
Xiaoge Su
c54e3fc78f
Remove dependency of IUDPSocket.h from simulator.h
2023-01-24 14:48:53 -08:00
Xiaoge Su
0a60142160
Extract ProcessInfo, MachineInfo, KillType out from ISimulator
2023-01-24 14:48:42 -08:00
Xiaoge Su
50de69c897
Extract IConnection and NetworkAddress out from network.h
2023-01-24 14:48:31 -08:00
Xiaoge Su
c11c48fa3f
Extract ChaosMetrics out from network.h
2023-01-24 14:47:48 -08:00
Xiaoge Su
3f03a6b12d
Extract out IPAddress and IUDPSocket
2023-01-24 14:47:39 -08:00
Xiaoge Su
890e578fe9
Extract TaskPriority to its own header file
2023-01-24 14:41:13 -08:00
Xiaoge Su
a42f00da86
Do not include <boost/asio.hpp> in network.h
2023-01-24 14:41:03 -08:00
Xiaoge Su
b14ae1a6a2
Extern template to reduce object instantiation
...
Wall time: 939.781
Clang time: 13212.0
2023-01-23 21:07:51 -08:00
Zhe Wu
d578ace1f0
Merge pull request #9195 from halfprice/zhewu/log-ping-latency
...
Log PingLatency when there is no ping latency samples, but ping attempts
2023-01-23 09:34:29 -08:00
Jingyu Zhou
ab06bf3b20
Merge pull request #9157 from sfc-gh-tclinkenbeard/drop-udp-packets-more
...
Drop UDP packets more frequently in simulation
2023-01-23 09:29:59 -08:00
Zhe Wu
bb62ff94fa
Log PingLatency when there is no ping latency samples, but ping attempts
2023-01-20 18:35:24 -08:00
A.J. Beamon
b10d1f227b
Remove tenant name from the TenantInfo object
2023-01-20 14:04:43 -08:00
Nim Wijetunga
82c92abca2
Change Noisy Sev30s to Sev20s ( #9180 )
...
change noisy sev30 traces to sev20
2023-01-19 14:06:34 -08:00
sfc-gh-tclinkenbeard
b2222a5249
Remove rare annotations from Token code
2023-01-18 11:39:02 -08:00
Junhyun Shim
e3c3922cc5
Merge pull request #9114 from sfc-gh-vgasiunas/vgasiunas-client-status-report
...
API for Client Status Report
2023-01-17 11:49:34 +00:00
sfc-gh-tclinkenbeard
986c792a9f
Drop UDP packets more frequently in simulation
2023-01-15 17:32:57 -08:00
Xiaoxi Wang
f0fd84e9f1
merge upstream/main; solve conflicts
2023-01-12 13:49:19 -08:00
Mohamed Oulmahdi
dcea8a0ac7
Restart joshua
2023-01-11 12:12:16 -06:00
Mohamed Oulmahdi
b2eba6956c
Add tokensign dependency for Windows
2023-01-11 12:12:16 -06:00
Vaidas Gasiunas
8d734fba85
get_client_status: report database connection status
2023-01-11 17:43:35 +01:00
Xiaoxi Wang
c6c34ba1d2
add sendError method to AsyncMap
2023-01-05 12:06:51 -08:00
Hui Liu
e3bf79cf71
Add correctness test for blob restore
2023-01-04 11:10:34 -08:00
A.J. Beamon
0d49b26e0b
Fix memcpy invocation to copy the correct number of bytes in order to avoid use of uninitialized memory in test
2022-12-22 08:46:51 -08:00
A.J. Beamon
31f34b28df
Merge pull request #9053 from sfc-gh-ajbeamon/improve-map-async
...
Make mapAsync usable without specifying template parameters
2022-12-19 09:35:54 -08:00
Junhyun Shim
77e523ce91
Merge remote-tracking branch 'origin/main' into mako-authz-token-generation
2022-12-15 17:02:19 -08:00
A.J. Beamon
0a686719d8
Make mapAsync usable without specifying template parameters
2022-12-14 14:33:59 -08:00
Kevin Hoxha
a05649c620
metrics: Add knob to control emission of DDSketch buckets
2022-12-14 14:33:39 -08:00
Junhyun Shim
9ddc8e076d
Fix clang format
2022-12-09 17:07:17 -08:00
Junhyun Shim
4882fa590f
Merge remote-tracking branch 'origin/main' into mako-authz-token-generation
2022-12-09 16:48:59 -08:00
Junhyun Shim
5da9b5e10d
Apply review suggestions
2022-12-09 16:48:42 -08:00
sfc-gh-tclinkenbeard
49ab88e912
Fix more clang 15 warnings
2022-12-08 14:25:36 -08:00
Junhyun Shim
e4c83c8913
Merge remote-tracking branch 'origin/main' into mako-authz-token-generation
2022-12-08 10:33:38 -08:00
Kevin Hoxha
f32281bdce
metrics: Break down OTELSum into smaller chunks to avoid UDP max packet size
2022-12-08 10:07:11 -08:00
Kevin Hoxha
5dc40d04fe
metrics: Make NumberDataPoint contain a variant<int, double> of the value
...
Gauges tend to be double while counters are int, so we need to support both.
2022-12-08 10:07:11 -08:00
Kevin Hoxha
8e248529ae
ddsketch: Fix undefined behaviour in DDSketch::getValue
...
There was unsigned integer underflow occuring in DDSketch::getValue, resulting in percentile sometimes returning inf as a value.
2022-12-08 10:07:11 -08:00
Kevin Hoxha
866679ed6d
metrics: Make DDSketch buckets uint32_t but double precision
2022-12-08 10:07:11 -08:00
Kevin Hoxha
3cea754ba3
metrics: Add OTEL metric definitions
2022-12-08 10:07:11 -08:00
Kevin Hoxha
407c371635
metrics: Add simulation testing and fix incorrect TraceEvent names
...
- Added a background actor that listens on METRICS_EMISSION_UDP_PORT for incoming metrics (and verifies they are in the correct format)
- TraceEvent details have certain requirements for naming. This commit makes a seperate name for Counter/LatencySample and its underlying IMetric to avoid
those issues
2022-12-08 10:07:11 -08:00
Kevin Hoxha
188e635b2e
metrics: Avoid name conflicts in MetricCollection
...
- In Counter constructor, make sure that we combine CounterCollection name
- In IMetric constructor, add a trace event and assertion in case of collision
- Rename ClusterRecoveryData CounterCollection name from master to ClusterRecoveryData
2022-12-08 10:07:11 -08:00
Kevin Hoxha
1d16bd9580
metrics: Fix bug in LatencySample::flush()
...
- Make sure that we check batch.statsd_message to be non-empty before adding a newline
- Make sure to actually add the message to the batch in flush()
2022-12-08 10:07:11 -08:00
Kevin Hoxha
36fea5b328
metrics: Make sure LatencyBand counters are unique
2022-12-08 10:07:11 -08:00
Kevin Hoxha
fe73576cc7
metrics: Add knobs and make Counter, LatencySample implement flush() method
2022-12-08 10:07:11 -08:00
Kevin Hoxha
eebf4d92f6
metrics: Add flush() definitions to Counter and LatencySample
2022-12-08 10:07:11 -08:00
Kevin Hoxha
30744c1310
metrics: Make LatencySample and Counter inherit from IMetric
2022-12-08 10:07:11 -08:00