New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DAQ file broker client (10_2_X) #23947
Commits on Jul 23, 2018
-
reorganizing source and service to support both old locking and new f…
…ile service which will distribute input files
-
-
Signed-off-by: Srecko Morovic <srecko.morovic@cern.ch>
-
-
pid added to HTTP attributes (for possible use in renaming)
catch file not exists and check for run directory on BU handle NORUN fix READY with no file current LS handle JSON file move by server to subdirectory with prefix
-
support for optional unlocking
support for socket keep alive (experimental)
-
rename fileService to fileBroker
fix undefined variable value when no raw file use shared lock for server contact and promote it to exclusive if EoLS file(s) have to be written
-
-
proper error recovery (avoiding assertions, segmentation faults) in c…
…ase of deletion of the run directory
-
-
instead of boost::filesystem high-level functions using low level file
access to copy JSON file from ramdisk. This allows better diagnosis of problems (such as recently seen bad file descriptor problem in some tests). This is enabled only for File Broker, while NFS locking code remains unchanged (as it is going to be phased out).
-
-
keep alive by default close socket on error NB: in tests it turns out that read_until reads the whole response. this is however not always guaranteed and updates will be needed to read based on HTTP Content-Length
-
-