Liang Zheng

Results 120 comments of Liang Zheng

hi @chlins, @wy65701436, happy Chinese new year! Is there any progress on this issue?

The issue still persists ```console ~/go/src/github.com/goharbor/perf (main ✗) go run mage.go run push-artifacts-to-different-projects /\ |‾‾| /‾‾/ /‾‾/ /\ / \ | |/ / / / / \/ \ | (...

I met a lot of `redis: transaction failed` and `rollback resources {"storage":47} for project 133 failed, error: context canceled` error, even through I set `QUOTA_UPDATE_PROVIDER="redis"`. This can lead to a...

> @microyahoo Hi, could you please provide the hardware configuration such as CPU/memory/disk info of the harbor deployment environment? so that can help us to reproduce the issue. Thanks for...

Hi @chlins, I filtered the two request ids in the core log and found that it only took less than 1min to go from attach request ID to rollback. However,...

I try to set `quota_per_project_enable` to false to deactivating update project quota usage, but there is still no improvement in the success rate. ``` insert into properties (k, v) values('quota_per_project_enable',...

> There should be a debug log message if you disabled the `quota_per_project_enable` if you set the log level to debug, could you confirm it? > > https://github.com/goharbor/harbor/blob/69fc957d7e8745474169f9a2df78d869be8d4650/src/server/middleware/quota/quota.go#L88 > >...

hi @chlins, I notice another clue, the perf blob file is not existed when I comment out [perf teardown](https://github.com/goharbor/perf/blob/e7b84c64b1b48ac9a19fad8b6663565c0116c2a0/scripts/test/push-artifacts-to-same-project.js#L62-L69) to keep blob digest file. ![screenshot-20240318-193008](https://github.com/goharbor/harbor/assets/10202906/f654129f-1441-48bd-b43b-e1f4e721bfd3) ![screenshot-20240318-193312](https://github.com/goharbor/harbor/assets/10202906/607e773b-0b85-4df1-9e0a-d120efe666ac)

Hi @chlins, I hacked harbor-core code and add detailed log for some middlewares, take [PUT v2_manifest](https://github.com/goharbor/harbor/blame/69fc957d7e8745474169f9a2df78d869be8d4650/src/server/registry/route.go#L74-L84) for example. Because I noticed that putting manifest sometimes takes a long time. For...

I roughly counted one of the `put manifest` requests. The time overhead in each stage is as follows: ![WX20240320-235223@2x](https://github.com/goharbor/harbor/assets/10202906/a9cd9d0d-0a14-4bdd-bc60-e303c8ba8456) ```console metric 50.833120332s 2024-03-20T11:29:42 repoproxy.DisableBlobAndManifestUploadMiddleware 1.647785287s 2024-03-20T11:29:03 immutable.Middleware 2.444636649s 2024-03-20T11:29:05 quota.PutManifestMiddleware...