Skip to content

Remove default value for max_attempts argument to RunTransaction(). #9952

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 28, 2022

Conversation

dconeybe
Copy link
Contributor

@dconeybe dconeybe commented Jun 27, 2022

In #9838 a new max_attempts argument was added to the RunTransaction() method in Firestore/core/src/api/firestore.h (an internal API, not an API presented to customers). This new argument was given a default value to avoid breaking the build of the firebase-cpp-sdk.

Now that firebase/firebase-cpp-sdk#966 has been merged, this default argument value can be removed, as all call sites explicitly specify a value for max_attempts.

#no-changelog

@dconeybe dconeybe self-assigned this Jun 27, 2022
@google-oss-bot
Copy link

Coverage Report 1

Affected Products

  • FirebaseFirestore-iOS-FirebaseFirestore.framework

    Overall coverage changed from 88.36% (97b34aa) to 88.37% (cb38041) by +0.01%.

    FilenameBase (97b34aa)Merge (cb38041)Diff
    ordered_code.cc93.90%94.39%+0.49%

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/GvL8P30AZY.html

@dconeybe dconeybe marked this pull request as ready for review June 27, 2022 18:45
@dconeybe dconeybe requested a review from wu-hui June 27, 2022 18:45
@wu-hui wu-hui merged commit 73357da into master Jun 28, 2022
@wu-hui wu-hui deleted the dconeybe/TransactionMaxAttemptsDefaultArgRemoval branch June 28, 2022 17:34
@firebase firebase locked and limited conversation to collaborators Jul 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants