2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 11:30:23 +00:00

Fix deadlock on collective create user

There was a call to rpc-out from within a 'true' function, which is bad,
fix this by only calling the 'true' function from 'true' function.
This commit is contained in:
Jarrod Johnson 2018-05-30 16:21:40 -04:00
parent 417bc5acda
commit 5d6e241287

View File

@ -1051,7 +1051,7 @@ class ConfigManager(object):
'username': name
}
if attributemap is not None:
self.set_user(name, attributemap)
self._true_set_user(name, attributemap)
_mark_dirtykey('users', name, self.tenant)
_mark_dirtykey('idmap', uid)
self._bg_sync_to_file()