1
0
mirror of https://github.com/minio/minio.git synced 2025-03-21 21:14:14 -04:00

10 Commits

Author SHA1 Message Date
Poorna
53cc561048
Default DeleteReplication rule status if unspecified. ()
Since this is a MinIO specific extension in the replication config,
default this to Disabled to allow other sdks to be used to configure
replication rules.

Co-authored-by: Poorna Krishnamoorthy <poorna@minio.io>
2022-07-14 16:27:09 -07:00
Harshavardhana
48e367ff7d
reject resync start on misconfigured replication rules ()
we expect resync to start on buckets with replication
rule ExistingObjects enabled, if not we reject such
calls.
2022-06-06 02:54:39 -07:00
Poorna
d8101573be
Disallow deletion of ARN when under active replication ()
fixes a regression from 
2022-05-24 19:40:45 -07:00
Harshavardhana
153a612253
fetch bucket retention config once for ILM evalAction ()
This is mainly an optimization, does not change any
existing functionality.
2022-04-11 13:25:32 -07:00
Poorna
295730408b
Disallow delete replication for tag based rules () 2022-01-24 15:22:20 -08:00
Harshavardhana
f527c708f2
run gofumpt cleanup across code-base () 2022-01-02 09:15:06 -08:00
Harshavardhana
661b263e77
add gocritic/ruleguard checks back again, cleanup code. ()
- remove some duplicated code
- reported a bug, separately fixed in 
- using strings.ReplaceAll() when needed
- using filepath.ToSlash() use when needed
- remove all non-Go style comments from the codebase

Co-authored-by: Aditya Manthramurthy <donatello@users.noreply.github.com>
2021-11-16 09:28:29 -08:00
Poorna Krishnamoorthy
c4373ef290
Add support for multi site replication () 2021-09-18 13:31:35 -07:00
Poorna Krishnamoorthy
dbea8d2ee0
Add support for existing object replication. ()
Also adding an API to allow resyncing replication when
existing object replication is enabled and the remote target
is entirely lost. With the `mc replicate reset` command, the
objects that are eligible for replication as per the replication
config will be resynced to target if existing object replication
is enabled on the rule.
2021-06-01 19:59:11 -07:00
Harshavardhana
1f262daf6f
rename all remaining packages to internal/ ()
This is to ensure that there are no projects
that try to import `minio/minio/pkg` into
their own repo. Any such common packages should
go to `https://github.com/minio/pkg`
2021-06-01 14:59:40 -07:00