There is no way to connect file close f-stream message with an instance of xrootd server it came from since there are nodes running multiple servers with exactly the same server time of start.
This is Andy's proposed solution:

struct XrdXrootdMonFileHdr
{char recType; // Identifies type of structure
char recFlag; // Structure specific flags
short recSize; // Size of this structure in bytes
union {kXR_unt32 fileID; // dictid if recType != isTime
kXR_unt32 userID; // dictid if recType == isDisc
short nRecs[2]; // isTime: nRecs[0] == isXfr recs
// nRecs[1] == total recs
};
};

Then we can add the server's sid and a reserved field and bump recSize by 8. To not repeat this all the time, the extra field is added only when recType == isTime as there is ony one such struct (at least that's what the documentation says) in the pacet and is always the first one after the standard header.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub



Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1