This commit is contained in:
Florin Chirica 2022-07-08 14:33:50 +02:00
parent f232e7c85c
commit 669a294683
No known key found for this signature in database
GPG Key ID: 1805593F7B529698

View File

@ -198,7 +198,7 @@ class DataLayer:
else:
root = None
if root is None:
self.log.error(f"Don't have pending root for {tree_id}.")
self.log.info(f"Don't have pending root for {tree_id}.")
return
if root.generation == singleton_record.generation:
return
@ -246,6 +246,9 @@ class DataLayer:
async with self.lock:
await self._update_confirmation_status(tree_id=tree_id)
if not self.data_store.tree_id_exists(tree_id=tree_id):
await self.data_store.create_tree(tree_id=tree_id)
for url in subscription.urls:
root = await self.data_store.get_tree_root(tree_id=tree_id)
if root.generation > singleton_record.generation: