Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for replLogIf (0.07 sec)

  1. cmd/bucket-replication.go

    		if err != nil {
    			replLogIf(ctx, err)
    			sendEvent(eventArgs{
    				EventName:  event.ObjectReplicationNotTracked,
    				BucketName: bucket,
    				Object:     objInfo,
    				UserAgent:  "Internal: [Replication]",
    				Host:       globalLocalNodeName,
    			})
    			return
    		}
    	}
    
    	if tgt.Bucket == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users.go

    		return
    	}
    
    	if err := globalIAMSys.DeleteUser(ctx, accessKey, true); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	replLogIf(ctx, globalSiteReplicationSys.IAMChangeHook(ctx, madmin.SRIAMItem{
    		Type: madmin.SRIAMItemIAMUser,
    		IAMUser: &madmin.SRIAMUser{
    			AccessKey:   accessKey,
    			IsDeleteReq: true,
    		},
    		UpdatedAt: UTCNow(),
    	}))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  3. cmd/bucket-handlers.go

    		return
    	}
    
    	// Load updated bucket metadata into memory.
    	globalNotificationSys.LoadBucketMetadata(GlobalContext, bucket)
    
    	// Call site replication hook
    	replLogIf(ctx, globalSiteReplicationSys.MakeBucketHook(ctx, bucket, opts))
    
    	// Make sure to add Location information here only for bucket
    	w.Header().Set(xhttp.Location, pathJoin(SlashSeparator, bucket))
    
    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/admin-handlers-idp-ldap.go

    		return
    	}
    
    	writeSuccessResponseJSON(w, encryptedData)
    
    	// Call hook for cluster-replication if the service account is not for a
    	// root user.
    	if newCred.ParentUser != globalActiveCred.AccessKey {
    		replLogIf(ctx, globalSiteReplicationSys.IAMChangeHook(ctx, madmin.SRIAMItem{
    			Type: madmin.SRIAMItemSvcAcc,
    			SvcAccChange: &madmin.SRSvcAccChange{
    				Create: &madmin.SRSvcAccCreate{
    					Parent:        newCred.ParentUser,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  5. cmd/admin-bucket-handlers.go

    		Bucket:    bucket,
    		Quota:     data,
    		UpdatedAt: updatedAt,
    	}
    	if quotaConfig.Size == 0 && quotaConfig.Quota == 0 {
    		bucketMeta.Quota = nil
    	}
    
    	// Call site replication hook.
    	replLogIf(ctx, globalSiteReplicationSys.BucketMetaHook(ctx, bucketMeta))
    
    	// Write success response.
    	writeSuccessResponseHeadersOnly(w)
    }
    
    // GetBucketQuotaConfigHandler - gets bucket quota configuration
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  6. cmd/iam.go

    			if nerr.Err != nil {
    				logger.GetReqInfo(ctx).SetTags("peerAddress", nerr.Host.String())
    				iamLogIf(ctx, nerr.Err)
    			}
    		}
    	}
    
    	replLogIf(ctx, globalSiteReplicationSys.IAMChangeHook(ctx, madmin.SRIAMItem{
    		Type: madmin.SRIAMItemPolicyMapping,
    		PolicyMapping: &madmin.SRPolicyMapping{
    			UserOrGroup: userOrGroup,
    			UserType:    int(regUser),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    					if !isErrBucketNotFound(proxyGetErr) && !isErrObjectNotFound(proxyGetErr) && !isErrVersionNotFound(proxyGetErr) &&
    						!isErrPreconditionFailed(proxyGetErr) && !isErrInvalidRange(proxyGetErr) {
    						replLogIf(ctx, fmt.Errorf("Proxying request (replication) failed for %s/%s(%s) - %w", bucket, object, opts.VersionID, perr))
    					}
    				}
    				if reader != nil && proxy.Proxy && perr == nil {
    					gr = reader
    				}
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top