alibaba / alibaba/Sentinel

Improve the access for counter map in ParameterMetric

Open
#1,462 1 comment 0 reactions 1 assignee Claimed by @wavesZh View on GitHub
kind/enhancement
Dominant language
Java
Stars
23.1k
Forks
8.1k
PR merge metrics
No merged PRs in 30d

Description

## Issue Description

Type: *bug report*

### Describe what happened (or what feature you want)

It's not thread-safe when accessing the counter map in `ParameterMetric`. We may need to improve it by using copy-on-write mechanism.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.