Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for sync (0.2 sec)

  1. cmd/erasure.go

    package cmd
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"math/rand"
    	"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.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  2. cmd/erasure-common.go

    package cmd
    
    import (
    	"context"
    	"fmt"
    	"io"
    	"math/rand"
    	"sync"
    	"time"
    
    	"github.com/minio/pkg/v2/sync/errgroup"
    )
    
    func (er erasureObjects) getOnlineDisks() (newDisks []StorageAPI) {
    	disks := er.getDisks()
    	var wg sync.WaitGroup
    	var mu sync.Mutex
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    	for _, i := range r.Perm(len(disks)) {
    		i := i
    		wg.Add(1)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  3. cmd/globals.go

    	// Only needed for tracking
    	globalServiceFreezeCnt int32
    	globalServiceFreezeMu  sync.Mutex // Updates.
    
    	// List of local drives to this node, this is only set during server startup,
    	// and is only mutated by HealFormat. Hold globalLocalDrivesMu to access.
    	globalLocalDrives   []StorageAPI
    	globalLocalDrivesMu sync.RWMutex
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool.go

    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/sync/errgroup"
    	"github.com/minio/pkg/v2/wildcard"
    )
    
    type erasureServerPools struct {
    	poolMetaMutex sync.RWMutex
    	poolMeta      poolMeta
    
    	rebalMu   sync.RWMutex
    	rebalMeta *rebalanceMeta
    
    	deploymentID     [16]byte
    	distributionAlgo string
    
    	serverPools []*erasureSets
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 80.1K bytes
    - Viewed (0)
  5. cmd/xl-storage-disk-id-check.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"io"
    	"math/rand"
    	"runtime"
    	"strconv"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/cachevalue"
    	"github.com/minio/minio/internal/grid"
    	xioutil "github.com/minio/minio/internal/ioutil"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  6. docs/metrics/prometheus/list.md

    | `minio_node_iam_last_sync_duration_millis` | Last successful IAM data sync duration in milliseconds.     |
    | `minio_node_iam_since_last_sync_millis`    | Time (in milliseconds) since last successful IAM data sync. |
    | `minio_node_iam_sync_failures`             | Number of failed IAM data syncs since server start.         |
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 43.4K bytes
    - Viewed (2)
  7. cmd/site-replication.go

    	)
    	if peer.DeploymentID != "" {
    		pi = c.state.Peers[peer.DeploymentID]
    		prevPeerInfo = pi
    		if !peer.SyncState.Empty() { // update replication to peer to be sync/async
    			pi.SyncState = peer.SyncState
    			successMsg = fmt.Sprintf("%s\n- sync state %s for peer %s", successMsg, peer.SyncState, peer.Name)
    		}
    		if peer.Endpoint != "" { // `admin replicate update` requested an endpoint change
    			pi.Endpoint = peer.Endpoint
    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)
  8. cmd/xl-storage.go

    	formatLastCheck time.Time
    
    	diskInfoCache *cachevalue.Cache[DiskInfo]
    	sync.RWMutex
    	formatData []byte
    
    	nrRequests   uint64
    	major, minor uint32
    	fsType       string
    
    	immediatePurge chan string
    
    	// mutex to prevent concurrent read operations overloading walks.
    	rotational bool
    	walkMu     *sync.Mutex
    	walkReadMu *sync.Mutex
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  9. cmd/metacache-set.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"encoding/gob"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"math/rand"
    	"strconv"
    	"strings"
    	"sync"
    	"time"
    
    	jsoniter "github.com/json-iterator/go"
    	"github.com/minio/minio/internal/bucket/lifecycle"
    	"github.com/minio/minio/internal/bucket/object/lock"
    	"github.com/minio/minio/internal/bucket/versioning"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  10. cmd/storage-rest-server.go

    				write(block)
    				if canWrite {
    					w.(http.Flusher).Flush()
    				}
    			}
    		}
    	}()
    	return &h
    }
    
    var poolBuf8k = sync.Pool{
    	New: func() interface{} {
    		b := make([]byte, 8192)
    		return &b
    	},
    }
    
    var poolBuf128k = sync.Pool{
    	New: func() interface{} {
    		b := make([]byte, 128<<10)
    		return b
    	},
    }
    
    // waitForHTTPStream will wait for responses where
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
Back to top