Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 969 for resync (0.09 sec)

  1. cmd/namespace-lock.go

    // volume, path and operation ID.
    func (n *nsLockMap) NewNSLock(lockers func() ([]dsync.NetLocker, string), volume string, paths ...string) RWLocker {
    	sort.Strings(paths)
    	opsID := mustGetUUID()
    	if n.isDistErasure {
    		drwmutex := dsync.NewDRWMutex(&dsync.Dsync{
    			GetLockers: lockers,
    			Timeouts:   dsync.DefaultTimeouts,
    		}, pathsJoinPrefix(volume, paths...)...)
    		return &distLockInstance{drwmutex, opsID}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. internal/dsync/drwmutex.go

    }
    
    func (g *Granted) isLocked() bool {
    	return isLocked(g.lockUID)
    }
    
    func isLocked(uid string) bool {
    	return len(uid) > 0
    }
    
    // NewDRWMutex - initializes a new dsync RW mutex.
    func NewDRWMutex(clnt *Dsync, names ...string) *DRWMutex {
    	restClnts, _ := clnt.GetLockers()
    	sort.Strings(names)
    	return &DRWMutex{
    		writeLocks:           make([]string, len(restClnts)),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 15:49:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. ci/official/upload.sh

    # "/path/bar". This script uses "gsutil rsync" instead, which acts on directory
    # contents. About arguments to gsutil:
    # "gsutil -m rsync" runs in parallel.
    # "gsutil rsync -r" is recursive and makes directories work.
    # "gsutil rsync -d" is "sync and delete files from destination if not present in source"
    
    DOWNLOADS="$(mktemp -d)"
    mkdir -p "$DOWNLOADS"
    gsutil -m rsync -r "$TFCI_ARTIFACT_STAGING_GCS_URI" "$DOWNLOADS"
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Jan 24 20:52:12 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.6.md

    * Fix resync goroutine leak in ListAndWatch ([#35672](https://github.com/kubernetes/kubernetes/pull/35672), [@tatsuhiro-t](https://github.com/tatsuhiro-t))
    
    #### client-go
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 304K bytes
    - Viewed (0)
  5. cmd/iam-etcd-store.go

    	return ies.loadMappedPolicy(ctx, name, userType, isGroup, m)
    }
    
    func (ies *IAMEtcdStore) loadMappedPolicy(ctx context.Context, name string, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy]) error {
    	var p MappedPolicy
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. internal/lsync/lrwmutex_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package lsync_test
    
    import (
    	"context"
    	"fmt"
    	"runtime"
    	"sync"
    	"sync/atomic"
    	"testing"
    	"time"
    
    	. "github.com/minio/minio/internal/lsync"
    )
    
    func testSimpleWriteLock(t *testing.T, duration time.Duration) (locked bool) {
    	ctx := context.Background()
    	lrwm := NewLRWMutex()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 05 04:57:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  7. cmd/iam-object-store.go

    	"errors"
    	"fmt"
    	"path"
    	"strings"
    	"sync"
    	"time"
    	"unicode/utf8"
    
    	jsoniter "github.com/json-iterator/go"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/config"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/kms"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v3/sync/errgroup"
    	"github.com/puzpuzpuz/xsync/v3"
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  8. 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/v3/sync/errgroup"
    )
    
    // list all errors that can be ignore in a bucket operation.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  9. ci/official/containers/linux_arm64/devel.packages.txt

    libomp-18-dev
    libssl-dev
    libtool
    libxml2-dev
    libxslt1-dev
    libzmq3-dev
    mlocate
    moreutils
    openjdk-21-jdk
    openjdk-21-jre-headless
    openssl
    parallel
    patchelf
    pkg-config
    python3-dev
    python3-setuptools
    rsync
    software-properties-common
    sudo
    swig
    unzip
    vim
    wget
    zip
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 09 19:53:03 UTC 2024
    - 494 bytes
    - Viewed (0)
  10. tests/test_dependency_class.py

    @app.get("/callable-dependency")
    async def get_callable_dependency(value: str = Depends(callable_dependency)):
        return value
    
    
    @app.get("/callable-gen-dependency")
    async def get_callable_gen_dependency(value: str = Depends(callable_gen_dependency)):
        return value
    
    
    @app.get("/async-callable-dependency")
    async def get_async_callable_dependency(
        value: str = Depends(async_callable_dependency),
    ):
        return value
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Aug 09 10:54:05 UTC 2020
    - 3.3K bytes
    - Viewed (0)
Back to top