Closed Desiki-high closed 1 year ago
To resolve the concurrent race issue, now gc will wait for all converting tasks completed.
resolve https://github.com/goharbor/acceleration-service/issues/174.
Can we add a metux lock between GC and Convert to simply the GC race?
GC
Convert
We can try RWMutex.
RWMutex
To resolve the concurrent race issue, now gc will wait for all converting tasks completed.
resolve https://github.com/goharbor/acceleration-service/issues/174.