ticket:10 more hacks

try to use atomic transaction to fix dup failures on getbarista