JAliEn-ROOT merge requestshttps://gitlab.cern.ch/jalien/jalien-root/-/merge_requests2024-01-26T13:27:42+01:00https://gitlab.cern.ch/jalien/jalien-root/-/merge_requests/79Hide libuv headers from ROOT2024-01-26T13:27:42+01:00Giulio EulisseHide libuv headers from ROOThttps://gitlab.cern.ch/jalien/jalien-root/-/merge_requests/78Update to 0.7.62024-01-15T11:32:15+01:00Volodymyr YurchenkoUpdate to 0.7.6This merge request contains the following changes:
- switch from the default libwebsockets event polling loop to libuv (see https://gitlab.cern.ch/jalien/jalien-root/-/merge_requests/76)
- the code style unification
- memory fixes: corre...This merge request contains the following changes:
- switch from the default libwebsockets event polling loop to libuv (see https://gitlab.cern.ch/jalien/jalien-root/-/merge_requests/76)
- the code style unification
- memory fixes: correct release of resources using smart pointers0.7.6Volodymyr YurchenkoVolodymyr Yurchenkohttps://gitlab.cern.ch/jalien/jalien-root/-/merge_requests/77Add support for running slc7 on RHEL8 when using ROOT 6.30.xx2023-12-19T13:50:46+01:00Giulio EulisseAdd support for running slc7 on RHEL8 when using ROOT 6.30.xxhttps://gitlab.cern.ch/jalien/jalien-root/-/merge_requests/74Fix casting2023-09-26T10:14:51+02:00Giulio EulisseFix castinghttps://gitlab.cern.ch/jalien/jalien-root/-/merge_requests/73Do not send libwecksockets to sleep on the main thread2023-09-06T19:19:15+02:00David RohrDo not send libwecksockets to sleep on the main threadBesides some cleanup of obsolete code, and an unnecessary static function which confused me:
I think libwebsockets was not used correctly. It supported a timeout at some point, but now it expects to use an event library like libuv or lib...Besides some cleanup of obsolete code, and an unnecessary static function which confused me:
I think libwebsockets was not used correctly. It supported a timeout at some point, but now it expects to use an event library like libuv or libev, or one should run lws_service in a separate thread and handle everything in the callbacks.
JAliEn-ROOT just runs lws_service in the main thread, and then sleeps for a random amount of time until the operating system sends a signal, or something happens on a socket.
Different behavior from different versions of libwebsockets / CMake options was basically only since the changed some internal unrelated behavior, and the OS would wake up the thread more or less often.
This patch adds a cancel event, if the connection is already established, to avoid the waiting when checking if the connection has died, which solves all the delays for me.
I put it only for libwebsockets >= 4.0, didn't check exactly when this API was introduced. Perhaps it is also needed for some of the later 3.x releases, but anyway, we should bump to a reasonable version. 3.0.1 we use right now is from 2018.https://gitlab.cern.ch/jalien/jalien-root/-/merge_requests/72Fix to use libwebsockets > 4.0, supersedes #68 with compilation fix2023-08-02T11:45:34+02:00David RohrFix to use libwebsockets > 4.0, supersedes #68 with compilation fixhttps://gitlab.cern.ch/jalien/jalien-root/-/merge_requests/71Few fixes2023-04-03T11:56:48+02:00Sandro Christian Wenzelsandro.wenzel@cern.chFew fixesFixing a few TMap ownership properties which were overlooked
with the memory-leak restructuring.
Fixing pointer release logic in Ls() command.
Convert a pointer to an object.
This commit is fixing an segfault that happened
when callin...Fixing a few TMap ownership properties which were overlooked
with the memory-leak restructuring.
Fixing pointer release logic in Ls() command.
Convert a pointer to an object.
This commit is fixing an segfault that happened
when calling the TJAlien::Mkdir command in a ROOT macro.https://gitlab.cern.ch/jalien/jalien-root/-/merge_requests/70Memory leak fixes and other improvements2023-03-20T13:41:13+01:00Sandro Christian Wenzelsandro.wenzel@cern.chMemory leak fixes and other improvementsFixing all mem leaks reported in https://alice.its.cern.ch/jira/browse/O2-3639 and few minor optimizations.
No public behaviour announced by the ROOT TGrid interfaces is changed. Only things internal to JAliEn-ROOT implementation touched.Fixing all mem leaks reported in https://alice.its.cern.ch/jira/browse/O2-3639 and few minor optimizations.
No public behaviour announced by the ROOT TGrid interfaces is changed. Only things internal to JAliEn-ROOT implementation touched.https://gitlab.cern.ch/jalien/jalien-root/-/merge_requests/69Reduce the dependencies of JAliEn-ROOT2022-10-03T17:36:22+02:00Giulio EulisseReduce the dependencies of JAliEn-ROOTBy using the obsolete way of specifying dependencies, JAliEn-ROOT
brings in unneeded stuff like RDataframe and Graf3d. This
Fixes things, at least on my mac.By using the obsolete way of specifying dependencies, JAliEn-ROOT
brings in unneeded stuff like RDataframe and Graf3d. This
Fixes things, at least on my mac.https://gitlab.cern.ch/jalien/jalien-root/-/merge_requests/68libwebsockets > 4.0 no longer have ws_ping_pong_interval2023-08-02T11:45:34+02:00Adrian Sevcencolibwebsockets > 4.0 no longer have ws_ping_pong_intervalhttps://gitlab.cern.ch/jalien/jalien-root/-/merge_requests/67TJClientFile::getDefaultPath fix against "invalid next size"2021-10-27T10:59:09+02:00Adrian SevcencoTJClientFile::getDefaultPath fix against "invalid next size"For a number of my jobs on the grid i got `free(): invalid next size (fast)`.
See also https://root-forum.cern.ch/t/root-exe-free-invalid-next-size-fast/47399
This patch rewrites the getDefaultPath in a simple and without conversions wayFor a number of my jobs on the grid i got `free(): invalid next size (fast)`.
See also https://root-forum.cern.ch/t/root-exe-free-invalid-next-size-fast/47399
This patch rewrites the getDefaultPath in a simple and without conversions wayhttps://gitlab.cern.ch/jalien/jalien-root/-/merge_requests/66Sync the credentials manager with libjalienO22021-03-30T10:08:16+02:00Nikola HardiSync the credentials manager with libjalienO2https://gitlab.cern.ch/jalien/jalien-root/-/merge_requests/65Properly handle rpath on macOS2021-03-10T16:09:46+01:00Giulio EulisseProperly handle rpath on macOSWithout this, the install_name of JAlienROOT is libJAlienROOT rather than
@rpath/libJAlienROOT, with the result things might break when SIP is
enabled.Without this, the install_name of JAlienROOT is libJAlienROOT rather than
@rpath/libJAlienROOT, with the result things might break when SIP is
enabled.https://gitlab.cern.ch/jalien/jalien-root/-/merge_requests/64CEPH - Fallback to internal write counters if GetSize() is negative2021-02-08T14:19:53+01:00Nikola HardiCEPH - Fallback to internal write counters if GetSize() is negativehttps://gitlab.cern.ch/jalien/jalien-root/-/merge_requests/63Connection manager - logging updates2020-11-16T16:49:25+01:00Nikola HardiConnection manager - logging updates1. Reduce reconnect log messages from Error to info
2. Replace cout printing with ROOT logging methods1. Reduce reconnect log messages from Error to info
2. Replace cout printing with ROOT logging methodshttps://gitlab.cern.ch/jalien/jalien-root/-/merge_requests/62Drop dependency on PROOF/TDSet - remove GetDataset()2020-10-12T13:51:35+02:00Nikola HardiDrop dependency on PROOF/TDSet - remove GetDataset()Remove our implementation ::GetDataset() which used to return TDSet.
Let the TGridCollection::GetDataset() (super class) throw exception
because this method shouldn't be used anyway.Remove our implementation ::GetDataset() which used to return TDSet.
Let the TGridCollection::GetDataset() (super class) throw exception
because this method shouldn't be used anyway.https://gitlab.cern.ch/jalien/jalien-root/-/merge_requests/59Backport reconnect patches2020-04-29T12:07:08+02:00Nikola HardiBackport reconnect patchesAdd the reconnect patches to 0.5.5 release.Add the reconnect patches to 0.5.5 release.Volodymyr YurchenkoVolodymyr Yurchenkohttps://gitlab.cern.ch/jalien/jalien-root/-/merge_requests/58Improve reading job tokens from the environment2020-04-15T15:54:11+02:00Nikola HardiImprove reading job tokens from the environmentBackporting the job tokens fix to 0.5.x branch. See also !57Backporting the job tokens fix to 0.5.x branch. See also !57Volodymyr YurchenkoVolodymyr Yurchenkohttps://gitlab.cern.ch/jalien/jalien-root/-/merge_requests/57Improve reading job tokens from the environment2020-04-15T15:54:01+02:00Nikola HardiImprove reading job tokens from the environmentWrite tokens to tmp files with random name to avoid collisions. Remove the files as soon as possible.Write tokens to tmp files with random name to avoid collisions. Remove the files as soon as possible.Volodymyr YurchenkoVolodymyr Yurchenkohttps://gitlab.cern.ch/jalien/jalien-root/-/merge_requests/56Check the connection status on every command JAL-252020-04-27T10:16:17+02:00Volodymyr YurchenkoCheck the connection status on every command JAL-25