-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Cleaning up the deprecated APIs from Bigtable #6309
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
Conversation
This commit contains below changes: - Removed deprecated `BulkMutationBatcher.java` from BigtableDataClient and other reference. As `newBulkMutationBatcher(tableId)` is stable. - Removed deprecated `EnhancedBigtableStub#bulkMutateRowsBatchingCallable`. - Renamed V2 from new `MutateRowsBatchingDescriptorV2.java`. - Removed unnecessary qualification from `MutateRowsBatchingDescriptor` javadoc.
Also, removing V2 suffix from the MeasureMutateRowsCallableV2. Updated test case to adapt with latest class.
kolea2
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall LGTM, will let @igorbernstein2 take a look as well. Thanks!
|
|
||
| /** | ||
| * For internal use only. | ||
| * This callable will instrument MutateRows invocations using Opencensus stats. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor - "OpenCensus"
Codecov Report
@@ Coverage Diff @@
## master #6309 +/- ##
============================================
- Coverage 46.86% 46.85% -0.02%
+ Complexity 28150 28133 -17
============================================
Files 2604 2601 -3
Lines 287371 287245 -126
Branches 33367 33352 -15
============================================
- Hits 134688 134585 -103
+ Misses 142450 142426 -24
- Partials 10233 10234 +1
Continue to review full report at Codecov.
|
igorbernstein2
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for putting this together
This commit contains below changes:
Removed deprecated
BulkMutationBatcher.javafrom BigtableDataClient and other reference. AsnewBulkMutationBatcher(tableId)is stable.Removed deprecated
EnhancedBigtableStub#bulkMutateRowsBatchingCallable.Removing deprecated
MeasureMutateRowsCallable.javaand renamedMeasureMutateRowsCallableV2to match with this.Renamed V2 from new
MutateRowsBatchingDescriptorV2.java.Removed unnecessary qualification from
MutateRowsBatchingDescriptorjavadoc.cc: @kolea2 @igorbernstein2