Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 164 for Rollback (0.14 sec)

  1. .github/workflows/issue-on-pr-rollback.yml

        branches:
          - master
          
    permissions: {}
    
    jobs:
      create-issue-on-pr-rollback:
        runs-on: ubuntu-latest
        permissions:
          contents: read
          issues: write
          pull-requests: read
        if: |
          github.repository == 'tensorflow/tensorflow' &&
          startsWith(github.event.head_commit.message, 'Rollback of PR #')
        steps:
          - name: Checkout repo
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Sep 01 15:40:11 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  2. finisher_api.go

    	} else {
    		db.AddError(ErrInvalidTransaction)
    	}
    	return db
    }
    
    // Rollback rollbacks the changes in a transaction
    func (db *DB) Rollback() *DB {
    	if committer, ok := db.Statement.ConnPool.(TxCommitter); ok && committer != nil {
    		if !reflect.ValueOf(committer).IsNil() {
    			db.AddError(committer.Rollback())
    		}
    	} else {
    		db.AddError(ErrInvalidTransaction)
    	}
    	return db
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  3. cmd/config.go

    )
    
    const (
    	minioConfigPrefix = "config"
    	minioConfigBucket = minioMetaBucket + SlashSeparator + minioConfigPrefix
    	kvPrefix          = ".kv"
    
    	// Captures all the previous SetKV operations and allows rollback.
    	minioConfigHistoryPrefix = minioConfigPrefix + "/history"
    
    	// MinIO configuration file.
    	minioConfigFile = "config.json"
    )
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  4. tests/generics_test.go

    	}
    
    	if err := tx.Rollback().Error; err != nil {
    		t.Fatalf("failed to rollback transaction: %v", err)
    	}
    
    	count2, err := gorm.G[User](DB).Where("name like ?", "TestGenericsTransaction%").Count(ctx, "*")
    	if err != nil {
    		t.Fatalf("Count failed: %v", err)
    	}
    	if count2 != 0 {
    		t.Errorf("expected 0 records after rollback, got %d", count2)
    	}
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 28K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    For example, if some code at some point in the middle, in another dependency or in a *path operation*, made a database transaction "rollback" or create any other error, you will receive the exception in your dependency.
    
    So, you can look for that specific exception inside the dependency with `except SomeException`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. cmd/update.go

    	if err = selfupdate.CommitBinary(opts); err != nil {
    		if rerr := selfupdate.RollbackError(err); rerr != nil {
    			return AdminError{
    				Code:       AdminUpdateApplyFailure,
    				Message:    fmt.Sprintf("Failed to rollback from bad update: %v", rerr),
    				StatusCode: http.StatusInternalServerError,
    			}
    		}
    		var pathErr *os.PathError
    		if errors.As(err, &pathErr) {
    			return AdminError{
    				Code: AdminUpdateApplyFailure,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/SecureKeyManager.java

                byte[] newKey = deriveKey(currentKey, rotationLabel, String.valueOf(System.currentTimeMillis()).getBytes(), currentKey.length);
    
                // Archive old key (keep last version for rollback)
                String archiveId = sessionId + ".v" + currentVersion;
                storeSessionKeyInternal(archiveId, currentKey, "AES");
    
                // Store new key
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  8. cmd/erasure-multipart.go

    // doesn't require clients to initiate multiple such requests.
    //
    // All parts are purged from all disks and reference to the uploadID
    // would be removed from the system, rollback is not possible on this
    // operation.
    func (er erasureObjects) AbortMultipartUpload(ctx context.Context, bucket, object, uploadID string, opts ObjectOptions) (err error) {
    	if !opts.NoAuditLog {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * java.util.concurrent.CompletableFuture#thenAcceptAsync}.
       *
       * @param callback The callback to invoke when this {@code Future} is completed.
       * @param executor The executor to run {@code callback} when the future completes.
       */
      public final void addCallback(FutureCallback<? super V> callback, Executor executor) {
        Futures.addCallback(this, callback, executor);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Futures.java

       *
       * @param future The future attach the callback to.
       * @param callback The callback to invoke when {@code future} is completed.
       * @param executor The executor to run {@code callback} when the future completes.
       * @since 10.0
       */
      public static <V extends @Nullable Object> void addCallback(
          ListenableFuture<V> future, FutureCallback<? super V> callback, Executor executor) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
Back to top