Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Peckover (0.29 sec)

  1. .github/workflows/multipart/migrate.sh

    ## we do not need to fail here, since we are going to test
    ## upgrading to master, healing and being able to recover
    ## the last version.
    if [ $failed_count_site1 -ne 0 ]; then
    	echo "failed with multipart on site1 uploads ${failed_count_site1}"
    fi
    
    if [ $failed_count_site2 -ne 0 ]; then
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 15:54:24 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  2. cmd/generic-handlers.go

    //
    // It should be always the first / highest HTTP handler.
    func setCriticalErrorHandler(h http.Handler) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		defer func() {
    			if rec := recover(); rec == logger.ErrCritical { // handle
    				stack := debug.Stack()
    				logger.Error("critical: \"%s %s\": %v\n%s", r.Method, r.URL, rec, string(stack))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  3. internal/lsync/lrwmutex_test.go

    // Borrowed from rwmutex_test.go
    func TestUnlockPanic(t *testing.T) {
    	defer func() {
    		if recover() == nil {
    			t.Fatalf("unlock of unlocked RWMutex did not panic")
    		}
    	}()
    	mu := NewLRWMutex()
    	mu.Unlock()
    }
    
    // Borrowed from rwmutex_test.go
    func TestUnlockPanic2(t *testing.T) {
    	defer func() {
    		if recover() == nil {
    			t.Fatalf("unlock of unlocked RWMutex did not panic")
    		}
    	}()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Mar 05 04:57:35 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  4. internal/dsync/drwmutex_test.go

    func TestUnlockPanic(t *testing.T) {
    	defer func() {
    		if recover() == nil {
    			t.Fatalf("unlock of unlocked RWMutex did not panic")
    		}
    	}()
    	mu := NewDRWMutex(ds, "test")
    	mu.Unlock(context.Background())
    }
    
    // Borrowed from rwmutex_test.go
    func TestUnlockPanic2(t *testing.T) {
    	mu := NewDRWMutex(ds, "test-unlock-panic-2")
    	defer func() {
    		if recover() == nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 9.7K bytes
    - Viewed (0)
  5. internal/crypto/key_test.go

    	"github.com/minio/minio/internal/logger"
    )
    
    var shortRandom = func(limit int64) io.Reader { return io.LimitReader(rand.Reader, limit) }
    
    func recoverTest(i int, shouldPass bool, t *testing.T) {
    	if err := recover(); err == nil && !shouldPass {
    		t.Errorf("Test %d should fail but passed successfully", i)
    	} else if err != nil && shouldPass {
    		t.Errorf("Test %d should pass but failed: %v", i, err)
    	}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Feb 02 00:13:57 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  6. cmd/main.go

    		freeze := func(_ int) {
    			// Infinite blocking op
    			<-make(chan struct{})
    		}
    
    		// Override the logger os.Exit()
    		logger.ExitFunc = freeze
    
    		defer func() {
    			if err := recover(); err != nil {
    				fmt.Println("panic:", err)
    				fmt.Println("")
    				fmt.Println(string(debug.Stack()))
    			}
    			freeze(-1)
    		}()
    	}
    
    	// Run the app - exit on error.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  7. internal/grid/muxserver.go

    	start := time.Now()
    	defer func() {
    		if debugPrint {
    			fmt.Println("Mux", m.ID, "Handler took", time.Since(start).Round(time.Millisecond))
    		}
    		if r := recover(); r != nil {
    			gridLogIf(ctx, fmt.Errorf("grid handler (%v) panic: %v", msg.Handler, r))
    			err := RemoteErr(fmt.Sprintf("handler panic: %v", r))
    			handlerErr = &err
    		}
    		if debugPrint {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  8. internal/grid/connection.go

    	go c.monitorState(conn, cancel)
    
    	c.handleMsgWg.Add(2)
    	c.reconnectMu.Unlock()
    
    	// Read goroutine
    	go func() {
    		defer func() {
    			if rec := recover(); rec != nil {
    				gridLogIf(ctx, fmt.Errorf("handleMessages: panic recovered: %v", rec))
    				debug.PrintStack()
    			}
    			c.connChange.L.Lock()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    		}
    		// In this case, it means at least one cluster was added
    		// successfully, we need to send a response to the client with
    		// some details - FIXME: the disks on this cluster would need to
    		// be cleaned to recover.
    		partial := madmin.ReplicateAddStatus{
    			Status:    madmin.ReplicateAddStatusPartial,
    			ErrDetail: peerAddErr.Error(),
    		}
    
    		return partial, nil
    	}
    
    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)
  10. docs/erasure/README.md

    MinIO protects data against hardware failures and silent data corruption using erasure code and checksums. With the highest level of redundancy, you may lose up to half (N/2) of the total drives and still be able to recover the data.
    
    ## What is Erasure Code?
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 4.1K bytes
    - Viewed (0)
Back to top