Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for serogroup (0.23 sec)

  1. cmd/notification.go

    func (sys *NotificationSys) LoadPolicyMapping(userOrGroup string, userType IAMUserType, isGroup bool) []NotificationPeerErr {
    	ng := WithNPeers(len(sys.peerClients)).WithRetries(1)
    	for idx, client := range sys.peerClients {
    		client := client
    		ng.Go(GlobalContext, func() error {
    			if client == nil {
    				return errPeerNotReachable
    			}
    			return client.LoadPolicyMapping(userOrGroup, userType, isGroup)
    		}, idx, *client.host)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  2. cmd/peer-s3-client.go

    package cmd
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"sort"
    	"strconv"
    	"sync/atomic"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/grid"
    	"github.com/minio/pkg/v2/sync/errgroup"
    	"golang.org/x/exp/slices"
    )
    
    var errPeerOffline = errors.New("peer is offline")
    
    type peerS3Client interface {
    	ListBuckets(ctx context.Context, opts BucketOptions) ([]BucketInfo, error)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  3. cmd/format-erasure.go

    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/config/storageclass"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/sync/errgroup"
    )
    
    const (
    	// Represents Erasure backend.
    	formatBackendErasure = "xl"
    
    	// Represents Erasure backend - single drive
    	formatBackendErasureSingle = "xl-single"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  4. cmd/erasure-multipart.go

    	xhttp "github.com/minio/minio/internal/http"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/mimedb"
    	"github.com/minio/pkg/v2/sync/errgroup"
    )
    
    func (er erasureObjects) getUploadIDDir(bucket, object, uploadID string) string {
    	uploadUUID := uploadID
    	uploadBytes, err := base64.RawURLEncoding.DecodeString(uploadID)
    	if err == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  5. cmd/erasure-sets.go

    	"github.com/minio/minio/internal/dsync"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/console"
    	"github.com/minio/pkg/v2/sync/errgroup"
    )
    
    // setsDsyncLockers is encapsulated type for Close()
    type setsDsyncLockers [][]dsync.NetLocker
    
    // erasureSets implements ObjectLayer combining a static list of erasure coded
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  6. cmd/erasure-metadata-utils.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"encoding/binary"
    	"errors"
    	"hash/crc32"
    
    	"github.com/minio/pkg/v2/sync/errgroup"
    )
    
    // figure out the most commonVersions across disk that satisfies
    // the 'writeQuorum' this function returns "" if quorum cannot
    // be achieved and disks have too many inconsistent versions.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  7. cmd/erasure-metadata.go

    	"github.com/minio/minio/internal/bucket/replication"
    	"github.com/minio/minio/internal/crypto"
    	"github.com/minio/minio/internal/hash/sha256"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/pkg/v2/sync/errgroup"
    )
    
    // Object was stored with additional erasure codes due to degraded system at upload time
    const minIOErasureUpgraded = "x-minio-internal-erasure-upgraded"
    
    const erasureAlgorithm = "rs-vandermonde"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  8. cmd/erasure-healing.go

    	"fmt"
    	"io"
    	"strconv"
    	"strings"
    	"sync"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/grid"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/sync/errgroup"
    )
    
    //go:generate stringer -type=healingMetric -trimprefix=healingMetric $GOFILE
    
    type healingMetric uint8
    
    const (
    	healingMetricBucket healingMetric = iota
    	healingMetricObject
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  9. cmd/erasure.go

    	"os"
    	"runtime"
    	"sort"
    	"sync"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/dsync"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/pkg/v2/sync/errgroup"
    )
    
    // list all errors that can be ignore in a bucket operation.
    var bucketOpIgnoredErrs = append(baseIgnoredErrs, errDiskAccessDenied, errUnformattedDisk)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  10. cmd/peer-rest-client.go

    	return err
    }
    
    // LoadPolicyMapping - reload a specific policy mapping
    func (client *peerRESTClient) LoadPolicyMapping(userOrGroup string, userType IAMUserType, isGroup bool) error {
    	_, err := loadPolicyMappingRPC.Call(context.Background(), client.gridConn(), grid.NewMSSWith(map[string]string{
    		peerRESTUserOrGroup: userOrGroup,
    		peerRESTUserType:    strconv.Itoa(int(userType)),
    		peerRESTIsGroup:     strconv.FormatBool(isGroup),
    	}))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
Back to top