oh! probably between resource.py L1806 and L1807, atomic key is getting updated by metadata update that's why the misleading lock for update error.
oh! probably between resource.py L1806 and L1807, atomic key is getting updated by metadata update that's why the misleading lock for update error.