Klaus Post
e06168596f
Convert more peer <--> peer REST calls ( #19004 )
...
* Convert more peer <--> peer REST calls
* Clean up in general.
* Add JSON wrapper.
* Add slice wrapper.
* Add option to make handler return nil error if no connection is given, `IgnoreNilConn`.
Converts the following:
```
+ HandlerGetMetrics
+ HandlerGetResourceMetrics
+ HandlerGetMemInfo
+ HandlerGetProcInfo
+ HandlerGetOSInfo
+ HandlerGetPartitions
+ HandlerGetNetInfo
+ HandlerGetCPUs
+ HandlerServerInfo
+ HandlerGetSysConfig
+ HandlerGetSysServices
+ HandlerGetSysErrors
+ HandlerGetAllBucketStats
+ HandlerGetBucketStats
+ HandlerGetSRMetrics
+ HandlerGetPeerMetrics
+ HandlerGetMetacacheListing
+ HandlerUpdateMetacacheListing
+ HandlerGetPeerBucketMetrics
+ HandlerStorageInfo
+ HandlerGetLocks
+ HandlerBackgroundHealStatus
+ HandlerGetLastDayTierStats
+ HandlerSignalService
+ HandlerGetBandwidth
```
2024-02-19 14:54:46 -08:00
Harshavardhana
5b114b43f7
refactor bandwidth throttling for replication target ( #17980 )
...
This refactor is to allow using the bandwidth throttling
for other purposes.
2023-09-05 20:21:59 -07:00
jiuker
e96c88e914
fix: DeleteBucketThrottle must delete ARN ( #17034 )
2023-04-15 02:14:26 -07:00
Poorna
1b02e046c2
Fix bandwidth monitoring to be per remote target ( #16360 )
2023-01-19 18:52:16 +05:30
Aditya Manthramurthy
a30cfdd88f
Bump up madmin-go to v2 ( #16162 )
2022-12-06 13:46:50 -08:00
Harshavardhana
f527c708f2
run gofumpt cleanup across code-base ( #14015 )
2022-01-02 09:15:06 -08:00
Harshavardhana
661b263e77
add gocritic/ruleguard checks back again, cleanup code. ( #13665 )
...
- remove some duplicated code
- reported a bug, separately fixed in #13664
- using strings.ReplaceAll() when needed
- using filepath.ToSlash() use when needed
- remove all non-Go style comments from the codebase
Co-authored-by: Aditya Manthramurthy <donatello@users.noreply.github.com>
2021-11-16 09:28:29 -08:00
Poorna Krishnamoorthy
b6cd54779c
Increase context timeout for bandwidth throttled reader ( #12820 )
...
increase default timeout up to one hour for toy setups.
fixes #12812
2021-07-28 15:20:01 -07:00
Poorna Krishnamoorthy
d00783c923
Use rate.Limiter for bandwidth monitoring ( #12506 )
...
Bonus: fixes a hang when bandwidth caps are enabled for
synchronous replication
2021-06-24 18:29:30 -07:00
Harshavardhana
1f262daf6f
rename all remaining packages to internal/ ( #12418 )
...
This is to ensure that there are no projects
that try to import `minio/minio/pkg` into
their own repo. Any such common packages should
go to `https://github.com/minio/pkg `
2021-06-01 14:59:40 -07:00