yanlinlin82 / seqpipe

A framework for SEQuencing data analysis PIPElines.
http://yanlinlin82.github.io/seqpipe/
MIT License
7 stars 4 forks source link

Different run Log may be writen into same directory #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently SeqPipe use "date.pid" as unique ID for each run. However, when a 
server restart or the maximum pid is not big enough, pid will restart from 1, 
which may occasionally lead to duplicated using the same ID.

It should be better to make SeqPipe check if the ID has been used or not. If it 
is, try add suffix to the directory name. 

Original issue reported on code.google.com by pku.ya...@gmail.com on 22 Dec 2012 at 4:21

GoogleCodeExporter commented 9 years ago
Now the unique ID is 'date.time.pid', which should not be duplicated, because 
pid can not be re-used during one minute.

Original comment by yanlinlin82 on 19 Sep 2013 at 12:19