Nathan Baulch
657fda216a
chore(ci): upgrade to golangci-lint 2.6.1 ( #4973 )
...
- upgrade to golangci-lint 2.6.1
- updates for gosec
- updates for govet
- updates for perfsprint
- updates modernize
Leaves out modernize:omitempty due to conflicts with tests
2025-11-11 21:27:10 -08:00
Edward Betts
1e97574391
fix(general): correct spelling mistakes ( #2684 )
2023-01-21 07:37:15 -08:00
Jarek Kowalski
51dcaa985d
chore(ci): upgraded linter to 1.48.0 ( #2294 )
...
Mechanically fixed all issues, added `lint-fix` make target.
2022-08-09 06:07:54 +00:00
Shikhar Mall
2857c4831a
storage api put-blob retention options ( #1511 )
...
* storage api put-blob retention options
Co-authored-by: Shikhar Mall <shikhar@kasten.io >
2021-11-15 19:46:42 -08:00
Jarek Kowalski
4a47bc3210
logging: switched from go-logging to zap ( #1376 )
...
This is much more efficient in terms of memory allocations
and speeds up backup due to less GC pressure.
Fixes #1345
2021-10-12 22:52:24 -07:00
Jarek Kowalski
8b760b66a8
logging: added memoization of Logger instances per context ( #1369 )
2021-10-09 05:02:18 -07:00
Jarek Kowalski
35d0f31c0d
huge: replaced the use of allocated byte slices with populating gather.WriteBuffer in the repository ( #1244 )
...
This helps recycle buffers more efficiently during snapshots.
Also, improved memory tracking, enabled profiling flags and added pprof
by default.
2021-08-20 08:45:10 -07:00
Jarek Kowalski
ede09c1585
listcache: added missing FlushCaches() method which fixed test flakes
2021-06-13 08:30:25 -07:00
Jarek Kowalski
6277fa27c9
content: refactored own writes cache and list cache into blob.Storage wrappers ( #1133 )
...
added blob.Storage.FlushCaches method.
2021-06-12 19:22:25 -07:00