Tuesday, 2021-08-31

__ministry@lxkong, I'm reading trove, but I was noticed in: https://github.com/openstack/trove/blob/master/trove/taskmanager/manager.py#L98 and have a question, that is: Whether current and future, trove just only support for mariadb, mysql, pgsql, ..? So, I want rewrite this function to separate file and config import by each datastore manager. What do you think about this?02:42
lxkong__ministry: no, trove support mysql, mariadb and postgresql for now, but nothing should stop people contributing for other datastores.06:01
__ministrylxkong: So, I want rewrite this function to separate file and config import by each datastore manager. What do you think about this?06:01
lxkongwhy you need to import this in the datastore manager?06:02
__ministryoops, if we support for others database, when we do promote a master node, they don't same.06:03
__ministrysuch as mongodb or redis, function `wait_for_txn` or `get_latest_txn_id` don't need.06:05
__ministryI noticed with each database type, they have a way to do promote to master separate.06:06
lxkongyeah, sure, you can change the code structure in a reasonable way06:07
lxkongbut I think `promote_to_replica_source` is the predefined interface between trove-api and trove-taskmanager, you can't change the function name but change the logic of the fucntion definition.06:09
__ministryyep. i will push new commit as soon as to do test done. thank you for support.06:10
lxkongnp, thanks for contribution06:10

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!