diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go index 93cc157fb..5cced0a87 100644 --- a/kernel/model/attribute_view.go +++ b/kernel/model/attribute_view.go @@ -1694,6 +1694,8 @@ func replaceAttributeViewBlock(operation *Operation, tx *Transaction) (err error return } + WaitForWritingFiles() + var node *ast.Node if !operation.IsDetached { node, _, _ = getNodeByBlockID(tx, operation.NextID)