diff options
| author | SmsS4 <36403983+SmsS4@users.noreply.github.com> | 2023-10-30 18:35:27 +0330 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-30 08:05:27 -0700 |
| commit | ba11331cc1326b24a123170d41ad6271dbc51b75 (patch) | |
| tree | d9abf0d03f1623293413f66845ca49a2a1090039 | |
| parent | f95848ba7d26742e9822b12104a8b9bb7698e616 (diff) | |
| download | seaweedfs-ba11331cc1326b24a123170d41ad6271dbc51b75.tar.xz seaweedfs-ba11331cc1326b24a123170d41ad6271dbc51b75.zip | |
Fix twice increase metric counter (#4961)
| -rw-r--r-- | weed/server/volume_server_handlers_read.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/weed/server/volume_server_handlers_read.go b/weed/server/volume_server_handlers_read.go index 30813073c..590cc77f0 100644 --- a/weed/server/volume_server_handlers_read.go +++ b/weed/server/volume_server_handlers_read.go @@ -166,7 +166,6 @@ func (vs *VolumeServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request) } if n.Cookie != cookie { glog.V(0).Infof("request %s with cookie:%x expected:%x from %s agent %s", r.URL.Path, cookie, n.Cookie, r.RemoteAddr, r.UserAgent()) - stats.VolumeServerRequestCounter.WithLabelValues(stats.ErrorGetNotFound).Inc() NotFound(w) return } |
