Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for site (0.18 sec)

  1. cmd/site-replication-metrics.go

    			Count: float64(minuteTotals.N),
    			Bytes: minuteTotals.Size,
    		},
    		LastHour: madmin.RStat{
    			Count: float64(hourTotals.N),
    			Bytes: hourTotals.Size,
    		},
    		Totals: madmin.RStat{
    			Count: float64(rt.SinceUptime.Count),
    			Bytes: rt.SinceUptime.Bytes,
    		},
    		ErrCounts: errCounts,
    	}
    }
    
    func (rt *RTimedMetrics) addsize(size int64, err error) {
    	// failures seen since uptime
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  2. cmd/site-replication-utils.go

    	"sync"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    )
    
    //go:generate msgp -file=$GOFILE
    
    // SiteResyncStatus captures current replication resync status for a target site
    type SiteResyncStatus struct {
    	Version int `json:"version" msg:"v"`
    	// Overall site status
    	Status                        ResyncStatusType            `json:"st" msg:"ss"`
    	DeplID                        string                      `json:"dId" msg:"did"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.9K bytes
    - Viewed (1)
  3. cmd/site-replication.go

    const (
    	srStatePrefix = minioConfigPrefix + "/site-replication"
    	srStateFile   = "state.json"
    )
    
    const (
    	srStateFormatVersion1 = 1
    )
    
    var (
    	errSRCannotJoin = SRError{
    		Cause: errors.New("this site is already configured for site-replication"),
    		Code:  ErrSiteReplicationInvalidRequest,
    	}
    	errSRDuplicateSites = SRError{
    		Cause: errors.New("duplicate sites provided for site-replication"),
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
  4. cmd/site-replication_test.go

    			},
    			set.CreateStringSet("dep1", "dep2", "dep3"),
    			set.CreateStringSet("dep1"),
    			[]string{"minio2", "minio3"},
    		},
    		// Test2: new site added that is not in replicated setup
    		{
    			[]madmin.PeerInfo{{Endpoint: "minio1:9000", Name: "minio1", DeploymentID: "dep1"}, {Endpoint: "minio2:9000", Name: "minio2", DeploymentID: "dep2"}, {Endpoint: "minio3:9000", Name: "minio3", DeploymentID: "dep3"}},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 20 00:53:08 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  5. cmd/admin-handlers-site-replication.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	// Report the ILMExpiryStats only if at least one site has replication of ILM expiry enabled
    	var replicateILMExpiry bool
    	for _, site := range info.Sites {
    		if site.ReplicateILMExpiry {
    			replicateILMExpiry = true
    			break
    		}
    	}
    	if !replicateILMExpiry {
    		// explicitly send nil for ILMExpiryStats
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 09:40:39 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  6. cmd/site-replication-metrics_gen.go

    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 4
    	// string "LastHour"
    	o = append(o, 0x84, 0xa8, 0x4c, 0x61, 0x73, 0x74, 0x48, 0x6f, 0x75, 0x72)
    	o, err = z.LastHour.MarshalMsg(o)
    	if err != nil {
    		err = msgp.WrapError(err, "LastHour")
    		return
    	}
    	// string "SinceUptime"
    	o = append(o, 0xab, 0x53, 0x69, 0x6e, 0x63, 0x65, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65)
    	// map header, size 2
    	// string "Count"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 40.6K bytes
    - Viewed (0)
  7. cmd/site-replication-metrics_gen_test.go

    Poorna <******@****.***> 1693382459 -0700
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Aug 30 08:00:59 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  8. cmd/site-replication-utils_gen.go

    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *SiteResyncStatus) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 6
    	// write "v"
    	err = en.Append(0x86, 0xa1, 0x76)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.Version)
    	if err != nil {
    		err = msgp.WrapError(err, "Version")
    		return
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Nov 14 15:16:40 GMT 2022
    - 7.2K bytes
    - Viewed (0)
  9. cmd/site-replication-utils_gen_test.go

    Poorna <******@****.***> 1668439000 -0800
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Nov 14 15:16:40 GMT 2022
    - 2.4K bytes
    - Viewed (0)
  10. internal/config/config.go

    		},
    		KV{
    			Key:   RegionKey,
    			Value: "",
    		},
    	}
    
    	DefaultRegionKVS = KVS{
    		KV{
    			Key:   RegionName,
    			Value: "",
    		},
    	}
    )
    
    // Site - holds site info - name and region.
    type Site struct {
    	Name   string
    	Region string
    }
    
    var validRegionRegex = regexp.MustCompile("^[a-zA-Z][a-zA-Z0-9-_-]+$")
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
Back to top