This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efm2.

View the commit online.

commit f0f6af2e69ac0c64182a7e7b399719a560c705f4
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
AuthorDate: Fri Jun 14 20:07:54 2024 +0100

    some notes/comments for solving meta sync problems
---
 TODO.md | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/TODO.md b/TODO.md
index 3fdc432..7d4da44 100644
--- a/TODO.md
+++ b/TODO.md
@@ -1,5 +1,32 @@
 # Things To Do
 
+# NOTES
+
+Solve Meta clash problem:
+
+* On load of meta file
+  * Lock meta
+  * Store stat info
+  * Load fields
+  * Unlock meta
+* Add changed flags to each meta key that was changed in memory
+* On write of meta
+  * Lock meta file
+  * If a meta file exists + stat info differs
+    * Load meta file fields again but keey changed flag fields as is
+  * Write out all meta file
+  * Unlock meta file
+* On mv or cp of meta
+  * Lock src meta
+  * Lock dst meta
+  * Read src meta
+  * Read dst meta
+  * Merge in only xy meta field into src meta if it exists
+  * Write src meta to dst meta (now merged)
+  * Delete src meta
+  * Unlock src meta
+  * Unlock dst meta
+
 ## Now
 
 * View

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to