add CORS tests (#7001)
* add CORS tests * parallel tests * Always attempt compaction when compactSnapshots is called * start servers * fix port * revert * debug ports * fix ports * debug * Update s3tests.yml * Update s3tests.yml * Update s3tests.yml * Update s3tests.yml * Update s3tests.yml
This commit is contained in:
@@ -138,9 +138,8 @@ func (r *LockRing) compactSnapshots() {
|
||||
r.Lock()
|
||||
defer r.Unlock()
|
||||
|
||||
if r.lastCompactTime.After(r.lastUpdateTime) {
|
||||
return
|
||||
}
|
||||
// Always attempt compaction when called, regardless of lastCompactTime
|
||||
// This ensures proper cleanup even with multiple concurrent compaction requests
|
||||
|
||||
ts := time.Now()
|
||||
// remove old snapshots
|
||||
|
||||
Reference in New Issue
Block a user