google-cloud-go icon indicating copy to clipboard operation
google-cloud-go copied to clipboard

chore(bigtable/bttest): remove half-baked instances support

Open dragonsinth opened this issue 3 years ago • 7 comments

A couple of years ago, support for DeleteInstance was added. However, this never really went anywhere; there's no way to actually create emulated instances or manage them. Can we remove this cruft, and simplify unimplemented methods via modern protoc generated stubs?

dragonsinth avatar Jun 04 '21 12:06 dragonsinth

@dragonsinth could you explain the problem this is solving? How does this change the user experience?

And thanks for your recent contributions to bttest. They are appreciated, but I want to make sure I understand your goal here :)

crwilcox avatar Jun 04 '21 19:06 crwilcox

This is just code hygiene, pure and simple! It solves no particular problem, just removes some dead code and test to make maintenance easier going forward.

This is assuming no one has any plans to implement sophisticated instance management on the emulator. Since this was added in 2019 figured it was probably a dead effort.

dragonsinth avatar Jun 04 '21 19:06 dragonsinth

@igorbernstein2 any idea if this was something on the backlog?

crwilcox avatar Jun 04 '21 20:06 crwilcox

FWIW, I endorse removing dead code. Every line of code is a liability that needs to earn it's keep. Realzy code can be added later if someone decides to implement instances.

jimfulton avatar Jun 21 '21 14:06 jimfulton

While going over the backlog of PRs I reviewed this again. Were these by chance here to satisfy an interface?

crwilcox avatar Aug 30 '21 20:08 crwilcox

Perhaps-- but the interface isn't exposed over grpc so I'm not sure what the utility of it would be. At least in OSS. There might be Google internal refs

dragonsinth avatar Aug 30 '21 23:08 dragonsinth

@googleapis/api-bigtable Let's decide if we want to move forward with this or close out the issue.

codyoss avatar Jul 06 '22 19:07 codyoss