denishpatel / pygmy

Pygmy: Saving AWS Bills on Standby DB Servers
5 stars 1 forks source link

apply_rule tries to repopulate all db data? #43

Closed benchub closed 3 years ago

benchub commented 3 years ago

I made a rule and noticed it didn't do anything. I tried to run the rule manually and noticed that, before running, it is trying to talk to all dbs. This seems incorrect? It implies that every time a rule is run, all dbs, not just the relevant ones, will get some pygmy traffic.

FWIW, becaue of issues #41 and #39, I am not currently expecting getting all db data to work, and so because running a rule currently starts off with that, it makes sense to me the rule is doing nothing.

denishpatel commented 3 years ago

@AadiMehta I'm out on vacation until Tuesday. Would you please work with @benchub to resolve this ASAP? Thanks!

amolvagare commented 3 years ago

Fixed in code revamping can be closed