Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for DeleteBucketMetadata (0.11 sec)

  1. cmd/notification.go

    		if nErr.Err != nil {
    			peersLogOnceIf(logger.SetReqInfo(ctx, reqInfo), nErr.Err, nErr.Host.String())
    		}
    	}
    }
    
    // DeleteBucketMetadata - calls DeleteBucketMetadata call on all peers
    func (sys *NotificationSys) DeleteBucketMetadata(ctx context.Context, bucketName string) {
    	globalReplicationStats.Load().Delete(bucketName)
    	globalBucketMetadataSys.Remove(bucketName)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  2. cmd/peer-rest-client.go

    	_, err := loadBucketMetadataRPC.Call(ctx, client.gridConn(), grid.NewMSSWith(map[string]string{
    		peerRESTBucket: bucket,
    	}))
    	return err
    }
    
    // DeleteBucketMetadata - Delete bucket metadata
    func (client *peerRESTClient) DeleteBucketMetadata(ctx context.Context, bucket string) error {
    	_, err := deleteBucketMetadataRPC.Call(ctx, client.gridConn(), grid.NewMSSWith(map[string]string{
    		peerRESTBucket: bucket,
    	}))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. cmd/bucket-handlers.go

    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    	}
    
    	globalNotificationSys.DeleteBucketMetadata(ctx, bucket)
    	globalReplicationPool.Get().deleteResyncMetadata(ctx, bucket)
    
    	// Call site replication hook.
    	replLogIf(ctx, globalSiteReplicationSys.DeleteBucketHook(ctx, bucket, forceDelete))
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    				replLogIf(ctx, fmt.Errorf("Unable to restore bucket DNS entry %w, please fix it manually", err2))
    			}
    		}
    		return err
    	}
    
    	globalNotificationSys.DeleteBucketMetadata(ctx, bucket)
    
    	return nil
    }
    
    // IAMChangeHook - called when IAM items need to be replicated to peer clusters.
    // This includes named policy creation, policy mapping changes and service
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top