sentinel-cpp
sentinel-cpp copied to clipboard
C++ implementation of Sentinel
## Issue Description Execute the "bazel build -c opt //..." would faile.Because the link in the WORKSPACE file have been broken, and the the download of dependent third-party compressed package...
https://github.com/alibaba/sentinel-cpp/issues/42 ### Describe what this PR does / why we need it I added this big feature of adaptive, low overhead fetching of cache timestamps. ### Does this pull request...
## Issue Description I added this big feature of adaptive, low overhead fetching of cache timestamps. Type: *bug report* or *feature request* ### Describe what happened (or what feature you...
### Describe what this PR does / why we need it 重大更新,由于sentinel-cpp很久没更新了,原来的构建配置已经失效了,特此更新,以保证代码能成功构建。 ### Does this pull request fix one issue? ### Describe how you did it 更改了WORKSPACE和BUILD文件的内容 ### Describe how...
## Issue Description Type: *bug report* or *feature request* ### Describe what happened (or what feature you want) ### Describe what you expected to happen ### How to reproduce it...
### Describe what this PR does / why we need it Fix global data race, and refractor some unreasonable design lead to potential data race. ### Does this pull request...
```c++ std::shared_ptr FlowRuleManager::GenerateController( const FlowRule& rule) { if (rule.metric_type() == FlowMetricType::kQps) { switch (rule.control_behavior()) { case FlowControlBehavior::kWarmUp: // return (WarmUpCalculator, DefaultChecker); case FlowControlBehavior::kThrotting: // return (DefaultCalculator, ThrottlingChecker); default: // Default...
### Describe what this PR does / why we need it Fix a logic problem for circuit breaker ### Does this pull request fix one issue? Fix bug for judging...
## Issue Description Type: *improvement* ### Describe what happened (or what feature you want) Improve boundary checking for input stream in `MetricSearcher` and `MetricReader`.
### Describe what this PR does / why we need it ### Does this pull request fix one issue? ### Describe how you did it ### Describe how to verify...