Hostname detection bug fixed where host was having several hostnames
-a switch ensures that file attributes and file copying is done in TMP before it is moved into final destination
Permissions and ownership are now transferred correctly no no more root.root ownership added for all.
Timestamp has nanosecond resolution now.
Logging to file added wit -O switch
_p flag added as a first attempt to make parallel runs of csync2 (several threads on one host targeting several other nodes). Do not use as Sqlite currently locks database for the first thread and others cannot continue. It may need a shift to posgresql as It supports more granular row level locking so parallel processes should not compete for the db access.
For production use -
csync2 -xa
as command to run.
I am also attaching installation and config instructions as there is no such guide available anywhere making it hard for people to install it. There were 4 people involved (on paid contracts) in making the fixes, config guide and testing to make it easier for the community. I hope my efforts will not go to waste.
This Csync2 version is currently running under heavy use between 4 nodes syncing 317,000 files. It takes about 14 seconds to sync to one node and about 40 seconds to sync all 4 in all directions. There are about 30 file changes every 10 seconds.
My aim is to slash this time at least by half, possibly even make it 4 times faster in the next round.
Hostname detection bug fixed where host was having several hostnames -a switch ensures that file attributes and file copying is done in TMP before it is moved into final destination Permissions and ownership are now transferred correctly no no more root.root ownership added for all. Timestamp has nanosecond resolution now. Logging to file added wit -O switch _p flag added as a first attempt to make parallel runs of csync2 (several threads on one host targeting several other nodes). Do not use as Sqlite currently locks database for the first thread and others cannot continue. It may need a shift to posgresql as It supports more granular row level locking so parallel processes should not compete for the db access. For production use -
csync2 -xa
as command to run.
I am also attaching installation and config instructions as there is no such guide available anywhere making it hard for people to install it. There were 4 people involved (on paid contracts) in making the fixes, config guide and testing to make it easier for the community. I hope my efforts will not go to waste.
This Csync2 version is currently running under heavy use between 4 nodes syncing 317,000 files. It takes about 14 seconds to sync to one node and about 40 seconds to sync all 4 in all directions. There are about 30 file changes every 10 seconds.
My aim is to slash this time at least by half, possibly even make it 4 times faster in the next round.
Csync2 cluster_instructions.pdf