1
0
mirror of https://github.com/minio/minio.git synced 2025-04-24 04:10:43 -04:00
Harshavardhana f649968c69
tier: avoid stats infinite loop in forwardTo method ()
under some sequence of events following code would
reach an infinite loop.

```
idx1, idx2 := 0, 1
for ; idx2 != idx1; idx2++ {
        fmt.Println(idx2)
}
```

fixes 
2022-09-01 13:51:06 -07:00
..
2021-04-23 11:58:53 -07:00
2021-04-23 11:58:53 -07:00
2022-06-23 23:19:24 -07:00