[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-datatype-cvs
Subject:    [Datatype-cvs] common/filewriter/pub archivr2.h,1.13,1.13.22.1
From:       ryuan () helixcommunity ! org
Date:       2012-09-05 11:01:13
[Download RAW message or body]

Update of /cvsroot/datatype/common/filewriter/pub
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv27735/pub

Modified Files:
      Tag: SERVER_15_0
	archivr2.h 
Log Message:
Synopsis:
=========
Fixes Bug 270635 [Live archiving api]: no archive file created for multi-rate live \
feed by stop command if there are several live feeds pushed to hms

Branches: SERVER_15_0, head
Suggested Reviewers: James, Xiaocheng and Anyone

Description:
============
Refer the bug description.

Root
When start archiving multiple files at the same time, since the GUIDs of the archive \
files only depend on machineID and time, they are same, the file confliction occurs. 

Fix:
Use a unique sequence number for each file to make sure no confliction.

Files affected:
===============
datatype/common/filewriter/pub/archivr2.h
datatype/common/filewriter/archivr2.cpp

Testing Performed:
================
Unit Tests:
None.

Integration Tests:
None

Leak Tests: None
Performance Tests: N/A

Platforms Tested: win-x86_64-vc10.
Builds Verified: win-x86_64-vc10.

QA Hints
========
None.



Index: archivr2.h
===================================================================
RCS file: /cvsroot/datatype/common/filewriter/pub/archivr2.h,v
retrieving revision 1.13
retrieving revision 1.13.22.1
diff -u -d -r1.13 -r1.13.22.1
--- archivr2.h	28 Oct 2010 22:43:16 -0000	1.13
+++ archivr2.h	5 Sep 2012 11:00:56 -0000	1.13.22.1
@@ -149,7 +149,7 @@
 					     UINT8 uMinor);
 					 
     static HX_RESULT ConvertFilepathToURL(const char* szProtocol, const char* \
                szFilePath, CHXString& strUrl);
-
+    static UINT64  zm_ul64FileSequence;
 protected:
     virtual ~CBaseArchiver2();
 


_______________________________________________
Datatype-cvs mailing list
Datatype-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/datatype-cvs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic