Jump to content

Synchronisation


Paul Barrett

Recommended Posts

Just out of curiosity....

 

If I:

 

  1. Turn off auto-sync.
  2. Make large scale metadata changes on metadata, say to Events, People, Locations etc, so that many files have multiple separate changes made to them.
  3. Turn sync back on.

Will sync do a separate write to file for each change made, or does it tag the file as 'needs to be written' and do a single write for all changes?

 

- Paul

Link to comment
Share on other sites

Just out of curiosity....

 

If I:

 

  1. Turn off auto-sync.
  2. Make large scale metadata changes on metadata, say to Events, People, Locations etc, so that many files have multiple separate changes made to them.
  3. Turn sync back on.

Will sync do a separate write to file for each change made, or does it tag the file as 'needs to be written' and do a single write for all changes?

 

- Paul

 

hello Paul,

 

In this case, Daminion will make a single write for a file no matter how many metadata changes were made to it.

 

Let me illustrate.

So, the auto-sync is off, and you’re start tagging items in Daminion.

The synchronization table roughly looks like in the picture below. D is for Daminion, F1-F7 is for files to be synced and Tag1-Tag6 for tags that need to be updated. Of course, there are much more files and definitely more than 6 Tags in your sync queue.

2016110315_5371040_23913236.png

 

Daminion puts in the sync table only information about those tags that should be edited for each file in the queue (like TAG1 and TAG6 should be edited for File6). It doesn’t store tag values in the sync table because these values can be changed multiple times until the sync process reaches the respective file.

 

For example, Tag 1 is Place.

You click the first image (F1) and start editing values of the Place tag

Country: Russian Federaion

State: Moscow Region

City: Mocsow

You save OK, the file is added to the sync queue but suddenly you notice the typo in “Federation”. You fix it and click Save again.

The sync table look like this:

F1 – T1, T2, T3 = update Tag1, Tag2, Tag3 for File1

When you turn the sync on, these tags will be updated with the current tag values (not Federaion but Federation).

 

And this happens to all files in the sync queue: update Tag2, Tag4 for File2; update Tag1,Tag6 for File3 etc.

Now you turn the sync on and Daminion starts synchronizing files. Once the file is synced, it is deleted from the sync queue (in the status bar the counter of unsynced files becomes less). If you now edit Tag6 for the File1, and this file was already synced and deleted from the queue, it will be added again to the sync queue but in the end of it.

 

Daria

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...