Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for rw (0.01 sec)

  1. docs/site-replication/run-multi-site-ldap.sh

    ./mc admin policy create minio1 rw ./docs/site-replication/rw.json
    
    sleep 5
    ./mc admin policy info minio2 rw >/dev/null 2>&1
    ./mc admin policy info minio3 rw >/dev/null 2>&1
    
    ./mc admin policy remove minio3 rw
    
    sleep 10
    ./mc admin policy info minio1 rw
    if [ $? -eq 0 ]; then
    	echo "expecting the command to fail, exiting.."
    	exit_1
    fi
    
    ./mc admin policy info minio2 rw
    if [ $? -eq 0 ]; then
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. docs/site-replication/run-multi-site-minio-idp.sh

    ./mc admin policy create minio1 rw ./docs/site-replication/rw.json
    
    sleep 5
    ./mc admin policy info minio2 rw >/dev/null 2>&1
    
    ./mc admin replicate status minio1
    
    ## Add a new empty site
    ./mc admin replicate add minio1 minio2 minio3
    
    sleep 10
    
    ./mc admin policy info minio3 rw >/dev/null 2>&1
    
    ./mc admin policy remove minio3 rw
    
    ./mc admin replicate status minio3
    
    sleep 10
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. docs/site-replication/run-multi-site-oidc.sh

    ./mc ready minio1
    ./mc ready minio2
    ./mc ready minio3
    
    ./mc admin replicate add minio1 minio2 minio3
    
    ./mc admin policy create minio1 projecta ./docs/site-replication/rw.json
    sleep 5
    
    ./mc admin policy info minio2 projecta >/dev/null 2>&1
    if [ $? -ne 0 ]; then
    	echo "expecting the command to succeed, exiting.."
    	exit_1
    fi
    ./mc admin policy info minio3 projecta >/dev/null 2>&1
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. src/bufio/bufio_test.go

    	{0, 1, io.EOF, nil, nil},
    }
    
    func TestReaderWriteToErrors(t *testing.T) {
    	for i, rw := range errorWriterToTests {
    		r := NewReader(rw)
    		if _, err := r.WriteTo(rw); err != rw.expected {
    			t.Errorf("r.WriteTo(errorWriterToTests[%d]) = _, %v, want _,%v", i, err, rw.expected)
    		}
    	}
    }
    
    func TestWriterReadFrom(t *testing.T) {
    	ws := []func(io.Writer) io.Writer{
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  5. cmd/erasure-object.go

    					if err == nil {
    						fi, err = fileInfoFromRaw(rfi, bucket, object, readData, opts.InclFreeVersions)
    					}
    				}
    
    				rw.Lock()
    				rawArr[i] = rfi
    				metaArr[i], errs[i] = fi, err
    				rw.Unlock()
    
    				done <- err == nil
    			}(i, disk)
    		}
    
    		wg.Wait()
    		xioutil.SafeClose(done)
    
    		fi, ok := <-mrfCheck
    		if !ok {
    			return
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                FileChannel channel = null;
                FileLock lock = null;
                try {
                    Properties props = new Properties();
    
                    channel = new RandomAccessFile(touchfile, "rw").getChannel();
                    lock = channel.lock();
    
                    if (touchfile.canRead()) {
                        getLogger().debug("Reading resolution-state from: " + touchfile);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    				} else {
    					writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    				}
    				return
    			}
    			nr := httptest.NewRecorder()
    			rw := xhttp.NewResponseRecorder(nr)
    			rw.LogErrBody = true
    			rw.LogAllBody = true
    			rreq.SelectParameters.Evaluate(rw)
    			rreq.SelectParameters.Close()
    			return
    		}
    		opts := ObjectOptions{
    			Transition: TransitionOptions{
    				RestoreRequest: rreq,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  8. 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)
Back to top