You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use "Tablet Availability" rather than "Hosting Goal" (apache#3969)
This update replaces uses of hosting goal related nomenclature with tablet availability related nomenclature instead.
The hosting values ALWAYS, ONDEMAND, and NEVER have been updated to HOSTED, ONDEMAND, and UNHOSTED. References to hosting goal and other goal related uses have been replaced with tablet availability and/or availability equivalents. Attempts have been made to update the corresponding JavaDocs along the way.
Hopefully after a couple of reviews all of the relevant references that need to be changed have been found. Any additional ones missed can be updated as needed.
Several classes have been renamed in the process. These include:
- `HostingGoalForTablet` -> `AvailabilityForTablet`
- `TabletHostingGoal` -> `TabletAvailability`
- `THostingGoal` -> `TTabletAvailability`
- `SetHostingGoal` -> `SetTabletAvailability`
- the containing package was updated from `.../tableOps/goal` to
`.../tableOps/availability`
- `GetTabletHostingGoalCommand` -> `GetAvailabilityCommand`
- `SetTabletHostingGoalCommand` -> `SetAvailabilityCommand`
The metadata schema was modified.
Moved `hosting:availability` and `hosting:requested` from the `HostingColumnFamily` class to the `TabletColumnFamily` class. They are now represented as `~tab:availability` and `~tab:requestToHost`.
Corrected two IT tests that were failing when performing a full IT build.
`ShellServerIT.testGetAvailabilityCommand_DelayedSplits`
`ShellCreateTableIT.testCreateTableWithInitialTabletAvailability`
Will closeapache#3859
-----
Co-authored-by: Christopher Tubbs <ctubbsii@apache.org>
Co-authored-by: EdColeman <dev1@etcoleman.com>
Co-authored-by: Dave Marion <dlmarion@apache.org>
Co-authored-by: Keith Turner <kturner@apache.org>
0 commit comments