An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Flashcards are not allowed to be modified during data sync to avoid data overwriting https://github.com/siyuan-note/siyuan/issues/10167
Daniel43c6fabcdc31
diff --git a/kernel/model/flashcard.go b/kernel/model/flashcard.goindex b7e7ba9fad..bf1693aa19 100644--- a/kernel/model/flashcard.go+++ b/kernel/model/flashcard.go@@ -641,7 +641,7 @@ func (tx *Transaction) doRemoveFlashcards(operation *Operation) (ret *TxErr) {deckLock.Lock()defer deckLock.Unlock()- if syncingStorages.Load() {+ if isSyncing.Load() {ret = &TxErr{code: TxErrCodeDataIsSyncing}return}@@ -753,7 +753,7 @@ func (tx *Transaction) doAddFlashcards(operation *Operation) (ret *TxErr) {deckLock.Lock()defer deckLock.Unlock()- if syncingStorages.Load() {+ if isSyncing.Load() {ret = &TxErr{code: TxErrCodeDataIsSyncing}return}