Previously, creating multiple Table objects pointed at the same (instance, table, app_profile_id) would cause duplicate ping_and_warm calls, even though the table should already be warm. This was because the registration logic was checking for the presence of the instance_name, even though the _active_instances store was actually storing instance_keys
Previously, creating multiple Table objects pointed at the same
(instance, table, app_profile_id)
would cause duplicate ping_and_warm calls, even though the table should already be warm. This was because the registration logic was checking for the presence of theinstance_name
, even though the_active_instances
store was actually storinginstance_keys
This PR fixes the bug, and adds a new unit test