NXP-11830 warn on sql directory session live at commit

Signed-off-by: Stephane Lacoin <slacoin@nuxeo.com>