1
0
mirror of https://github.com/minio/minio.git synced 2025-02-18 17:12:31 -05:00

6 Commits

Author SHA1 Message Date
Krishnan Parthasarathi
da81c6cc27
Encode dir obj names before expiration ()
Object names of directory objects qualified for ExpiredObjectAllVersions
must be encoded appropriately before calling on deletePrefix on their
erasure set.

e.g., a directory object and regular objects with overlapping prefixes
could lead to the expiration of regular objects, which is not the 
intention of ILM. 

```
bucket/dir/ ---> directory object
bucket/dir/obj-1
```

When `bucket/dir/` qualifies for expiration, the current implementation would
remove regular objects under the prefix `bucket/dir/`, in this case,
`bucket/dir/obj-1`.
2024-03-21 10:21:35 -07:00
Poorna
5e2f8d7a42
replication: Simplify mrf requeueing and add backlog handler ()
Simplify MRF queueing and add backlog handler

- Limit re-tries to 3 to avoid repeated re-queueing. Fall offs
to be re-tried when the scanner revisits this object or upon access.

- Change MRF to have each node process only its MRF entries.

- Collect MRF backlog by the node to allow for current backlog visibility
2023-07-12 23:51:33 -07:00
Poorna
d6bc141bd1
feat: Add support for site level resync () 2022-11-14 07:16:40 -08:00
Poorna
4155c5b695
replication: improve MRF healing. ()
This PR improves the replication failure healing by persisting
most recent failures to disk and re-queuing them until the replication
is successful.

While this does not eliminate the need for healing during a full scan, 
queuing MRF vastly improves the ETA to keeping replicated buckets 
in sync as it does not wait for the scanner visit to detect unreplicated 
object versions.
2022-08-22 16:53:06 -07:00
Poorna
ed3418c046
Refactor replication resync to be an active process ()
When resync is triggered, walk the bucket namespace and
resync objects that are unreplicated. This PR also adds
an API to report resync progress.
2022-02-10 10:16:52 -08:00
Poorna Krishnamoorthy
c4373ef290
Add support for multi site replication () 2021-09-18 13:31:35 -07:00