Problemm:
I had a 1MB TXT file and watched it replicate/mirror to the destination. I changed one word in the .txt file and then the entire file was replicated. Why didn't FRP replicate the changes at the byte level?
Solution:
The default differential sync threshold is 10MB which means that files less than 10MB in size will not be processed through byte-level replication.Modifying this threshold is done through the s2s.dsync.threshold parameter in the libs2s.properties file.
# Example - To set the differential sync minimum threshold to be 100KB, set the parameter to:
s2s.dsync.threshold=100000
1. Stop the FRP replication service on all servers
2. Open the libs2s.properties file in a text editor
3. Make any changes and save the file
4. Copy the s2s.properties file to all your servers
5. Start the FRP replication service on all servers