foundationdb icon indicating copy to clipboard operation
foundationdb copied to clipboard

Go binding: allow cancelling snapshots and R/O transactions

Open gm42 opened this issue 1 year ago • 8 comments

Allow cancelling snapshots and R/O transactions.

It is beneficial to cancel a transaction, even if not performing any changes, so that futures and other associated resources can be released early.

Code-Reviewer Section

  • [x] The PR has a description, explaining both the problem and the solution.
  • [ ] The description mentions which forms of testing were done and the testing seems reasonable.
  • [x] Every function/class/actor that was touched is reasonably well documented.

For Release-Branches

If this PR is made against a release-branch, please also check the following:

  • [ ] This change/bugfix is a cherry-pick from the next younger branch (younger release-branch or main if this is the youngest branch)
  • [ ] There is a good reason why this PR needs to go into a release branch and this reason is documented (either in the description above or in a linked GitHub issue)

gm42 avatar Aug 28 '24 07:08 gm42

Cc @johscheuer

gm42 avatar Aug 28 '24 08:08 gm42

Result of foundationdb-pr-macos-m1 on macOS Ventura 13.x

  • Commit ID: be710557e89d6717e07040f14fd14c1d44a8f0fb
  • Duration 0:06:59
  • Result: :x: FAILED
  • Error: Error while executing command: ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ${HOME}/.ssh_key ec2-user@${MAC_EC2_HOST} /opt/homebrew/bin/bash --login -c ./build_pr_macos.sh. Reason: exit status 1
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

foundationdb-ci avatar Aug 28 '24 19:08 foundationdb-ci

Result of foundationdb-pr-macos on macOS Ventura 13.x

  • Commit ID: be710557e89d6717e07040f14fd14c1d44a8f0fb
  • Duration 0:12:01
  • Result: :x: FAILED
  • Error: Error while executing command: ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ${HOME}/.ssh_key ec2-user@${MAC_EC2_HOST} /usr/local/bin/bash --login -c ./build_pr_macos.sh. Reason: exit status 1
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

foundationdb-ci avatar Aug 28 '24 19:08 foundationdb-ci

Result of foundationdb-pr-clang-ide on Linux CentOS 7

  • Commit ID: be710557e89d6717e07040f14fd14c1d44a8f0fb
  • Duration 0:21:38
  • Result: :white_check_mark: SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

foundationdb-ci avatar Aug 28 '24 19:08 foundationdb-ci

Result of foundationdb-pr-clang-arm on Linux CentOS 7

  • Commit ID: be710557e89d6717e07040f14fd14c1d44a8f0fb
  • Duration 0:56:00
  • Result: :white_check_mark: SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

foundationdb-ci avatar Aug 28 '24 19:08 foundationdb-ci

Result of foundationdb-pr-cluster-tests on Linux CentOS 7

  • Commit ID: be710557e89d6717e07040f14fd14c1d44a8f0fb
  • Duration 0:58:44
  • Result: :white_check_mark: SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)
  • Cluster Test Logs zip file of the test logs (available for 30 days)

foundationdb-ci avatar Aug 28 '24 19:08 foundationdb-ci

Result of foundationdb-pr-clang on Linux CentOS 7

  • Commit ID: be710557e89d6717e07040f14fd14c1d44a8f0fb
  • Duration 3:00:14
  • Result: :x: FAILED
  • Error: Build has timed out.
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

foundationdb-ci avatar Aug 28 '24 21:08 foundationdb-ci

Result of foundationdb-pr on Linux CentOS 7

  • Commit ID: be710557e89d6717e07040f14fd14c1d44a8f0fb
  • Duration 3:00:30
  • Result: :x: FAILED
  • Error: Build has timed out.
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

foundationdb-ci avatar Aug 28 '24 21:08 foundationdb-ci

Result of foundationdb-pr-clang-ide on Linux CentOS 7

  • Commit ID: be710557e89d6717e07040f14fd14c1d44a8f0fb
  • Duration 0:22:34
  • Result: :white_check_mark: SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

foundationdb-ci avatar Aug 30 '24 12:08 foundationdb-ci

Result of foundationdb-pr-clang-arm on Linux CentOS 7

  • Commit ID: be710557e89d6717e07040f14fd14c1d44a8f0fb
  • Duration 0:51:57
  • Result: :white_check_mark: SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

foundationdb-ci avatar Aug 30 '24 12:08 foundationdb-ci

Result of foundationdb-pr-cluster-tests on Linux CentOS 7

  • Commit ID: be710557e89d6717e07040f14fd14c1d44a8f0fb
  • Duration 0:58:44
  • Result: :white_check_mark: SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)
  • Cluster Test Logs zip file of the test logs (available for 30 days)

foundationdb-ci avatar Aug 30 '24 13:08 foundationdb-ci

Result of foundationdb-pr-clang on Linux CentOS 7

  • Commit ID: be710557e89d6717e07040f14fd14c1d44a8f0fb
  • Duration 3:00:21
  • Result: :x: FAILED
  • Error: Build has timed out.
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

foundationdb-ci avatar Aug 30 '24 15:08 foundationdb-ci

Result of foundationdb-pr on Linux CentOS 7

  • Commit ID: be710557e89d6717e07040f14fd14c1d44a8f0fb
  • Duration 3:00:24
  • Result: :x: FAILED
  • Error: Build has timed out.
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

foundationdb-ci avatar Aug 30 '24 15:08 foundationdb-ci

Result of foundationdb-pr-clang on Linux CentOS 7

  • Commit ID: be710557e89d6717e07040f14fd14c1d44a8f0fb
  • Duration 1:03:01
  • Result: :white_check_mark: SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

foundationdb-ci avatar Sep 04 '24 21:09 foundationdb-ci

Result of foundationdb-pr on Linux CentOS 7

  • Commit ID: be710557e89d6717e07040f14fd14c1d44a8f0fb
  • Duration 1:05:09
  • Result: :white_check_mark: SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

foundationdb-ci avatar Sep 04 '24 21:09 foundationdb-ci