diff --git a/google-cloud-spanner/clirr-ignored-differences.xml b/google-cloud-spanner/clirr-ignored-differences.xml
index eaf7637b0b..5d3beb2e7b 100644
--- a/google-cloud-spanner/clirr-ignored-differences.xml
+++ b/google-cloud-spanner/clirr-ignored-differences.xml
@@ -605,6 +605,14 @@
com.google.cloud.spanner.admin.instance.v1.stub.InstanceAdminStubSettings getInstanceAdminStubSettings()
+
+
+ 7006
+ com/google/cloud/spanner/Options
+ com.google.cloud.spanner.Options$ReadQueryUpdateTransactionOption maxCommitDelay(java.time.Duration)
+ com.google.cloud.spanner.Options$TransactionOption
+
+
7005
com/google/cloud/spanner/PartitionedDmlTransaction
diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/Options.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/Options.java
index 76d0f24225..d5c95d0a5a 100644
--- a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/Options.java
+++ b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/Options.java
@@ -141,7 +141,7 @@ public static ReadQueryUpdateTransactionOption priority(RpcPriority priority) {
return new PriorityOption(priority);
}
- public static ReadQueryUpdateTransactionOption maxCommitDelay(Duration maxCommitDelay) {
+ public static TransactionOption maxCommitDelay(Duration maxCommitDelay) {
Preconditions.checkArgument(!maxCommitDelay.isNegative(), "maxCommitDelay should be positive");
return new MaxCommitDelayOption(maxCommitDelay);
}
@@ -258,8 +258,7 @@ void appendToOptions(Options options) {
static final CommitStatsOption COMMIT_STATS_OPTION = new CommitStatsOption();
/** Option to request {@link MaxCommitDelayOption} for read/write transactions. */
- static final class MaxCommitDelayOption extends InternalOption
- implements ReadQueryUpdateTransactionOption {
+ static final class MaxCommitDelayOption extends InternalOption implements TransactionOption {
final Duration maxCommitDelay;
MaxCommitDelayOption(Duration maxCommitDelay) {