Skip to content

Commit

Permalink
Add missing update for recFlag setting for monitoring change.
Browse files Browse the repository at this point in the history
  • Loading branch information
abh3 committed Apr 22, 2016
1 parent c5c6924 commit 10441d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/XrdXrootd/XrdXrootdMonData.hh
Expand Up @@ -161,7 +161,8 @@ enum recFval {forced =0x01, // If recFlag == isClose close due to disconnect
hasOPS =0x02, // If recFlag == isClose MonStatXFR + MonStatOPS
hasSSQ =0x04, // If recFlag == isClose XFR + OPS + MonStatSSQ
hasLFN =0x01, // If recFlag == isOpen the lfn is present
hasRW =0x02 // If recFlag == isOpen file opened r/w
hasRW =0x02, // If recFlag == isOpen file opened r/w
hasSID =0x01 // if recFlag == isTime sID is present (new rec)
};

char recType; // RecTval: isClose | isOpen | isTime | isXfr
Expand Down
2 changes: 1 addition & 1 deletion src/XrdXrootd/XrdXrootdMonFile.cc
Expand Up @@ -345,7 +345,7 @@ bool XrdXrootdMonFile::Init(XrdScheduler *sp, XrdSysError *errp, int bfsz)
//
repTOD = (XrdXrootdMonFileTOD *)(repBuff + sizeof(XrdXrootdMonHeader));
repTOD->Hdr.recType = XrdXrootdMonFileHdr::isTime;
repTOD->Hdr.recFlag = 0;
repTOD->Hdr.recFlag = XrdXrootdMonFileHdr::hasSID;
repTOD->Hdr.recSize = htons(sizeof(XrdXrootdMonFileTOD));
repTOD->sID = static_cast<kXR_int64>(XrdXrootdMonInfo::mySID);

Expand Down

0 comments on commit 10441d0

Please sign in to comment.