Open twangboy opened 1 year ago
I removed the longer running update interval and left just the DataDog GitFS remote that updates every 30 seconds. I ran the master and observed the continuous syncing for over 15 minutes. However, I did notice that the PID changed every 5 minutes.
I tested this on a Windows master and did not observe the GitFS hang. The PID never changes.
Thanks for looking into this for me and for all your help.
Description GitFS will hang after a certain amount of time. On my machine, it was about 5 minutes. I don't know if it's based on time or the number of refreshes, which on my machine was about 10 refreshes. It will do no more fetches until the last defined GitFS remote
update_interval
fires. It is then issued a new PID and the cycle starts over. This would not be noticeable if your longestupdate_interval
is close to the other update intervals. But if you have an update interval of a day (86400
), then your GitFS remotes will update for 5 minutes every day.Setup master config
Steps to Reproduce the behavior Start the master:
In another terminal on the same machine, tail the master log grepping for
gitfs
:You will see the following output:
Expected behavior I would expect all GitFS remotes to sync on their specified interval without interruption, regardless of the update_interval of other remotes. I find it strange that syncing resumes after the repo with the longest update interval syncs.
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.) ```yaml Salt Version: Salt: 3005.1 Dependency Versions: cffi: 1.15.1 cherrypy: Not Installed dateutil: 2.6.1 docker-py: Not Installed gitdb: Not Installed gitpython: Not Installed Jinja2: 2.10.1 libgit2: 1.1.0 M2Crypto: 0.35.2 Mako: 1.0.6 msgpack: 0.6.2 msgpack-pure: Not Installed mysql-python: Not Installed pycparser: 2.21 pycrypto: Not Installed pycryptodome: Not Installed pygit2: 1.6.1 Python: 3.6.8 (default, Jan 23 2023, 22:31:05) python-gnupg: Not Installed PyYAML: 3.12 PyZMQ: 20.0.0 smmap: Not Installed timelib: Not Installed Tornado: 4.5.3 ZMQ: 4.3.4 System Versions: dist: rhel 8.8 Ootpa locale: UTF-8 machine: x86_64 release: 4.18.0-477.13.1.el8_8.x86_64 system: Linux version: Red Hat Enterprise Linux 8.8 Ootpa ```