Ignore:
Timestamp:
08/27/13 08:07:42 (15 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
6dd9592
Parents:
2ac57ce
Message:

Setup the new snapshot process as an external process and update the message appropriately. Also make sure that we parse every single line in the log, just to make sure that we don't miss an important message (keep it quiet during the initial startup phase though).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/life-preserver/LPBackend.cpp

    r2ac57ce r845aaf6  
    162162//    Snapshop Management 
    163163// ================== 
    164 bool LPBackend::newSnapshot(QString dataset, QString snapshotname){ 
     164void LPBackend::newSnapshot(QString dataset, QString snapshotname){ 
     165  //This needs to run externally - since the snapshot is simply added to the queue, and the replication 
     166  //   afterwards may take a long time. 
    165167  QString cmd = "lpreserver mksnap --replicate "+dataset+" "+snapshotname; 
    166   int ret = LPBackend::runCmd(cmd); 
    167     
    168   return (ret == 0); 
     168  QProcess::startDetached(cmd); 
     169    
     170  return; 
    169171} 
    170172 
Note: See TracChangeset for help on using the changeset viewer.