[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #25531 [Internal Services]: Add locks in archive.tpo rsync scripts



#25531: Add locks in archive.tpo rsync scripts
-----------------------------------+-------------------------
     Reporter:  boklm              |      Owner:  boklm
         Type:  defect             |     Status:  assigned
     Priority:  Medium             |  Milestone:
    Component:  Internal Services  |    Version:
     Severity:  Normal             |   Keywords:  boklm201803
Actual Points:                     |  Parent ID:
       Points:                     |   Reviewer:
      Sponsor:                     |
-----------------------------------+-------------------------
 We are using cron to run rsync every hour to update archive.tpo. It works
 fine, except when the rsync takes more than one hour, which cause multiple
 rsyncs to be running at the same time.

 We should avoid that by using flock/lckdo.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25531>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs