Ask Your Question

Revision history [back]

I don't see any neutron function using slave. But in neutron, there's method for get_session in https://github.com/openstack/neutron/blob/master/neutron/openstack/common/db/sqlalchemy/session.py

That's why I got confused here.

From your reference[0], other projects should get session from oslo get_session(), right? I looked at cinder,nova and neutron, all of them define and consume their own get_session function instead of oslo's. This is potential code refactor work here?

Thanks for explanation!