~ignacio-nin/+junk/percona-xtradb-cluster-galera

« back to all changes in this revision

Viewing changes to galera/src/monitor.hpp

  • Committer: Alex Yurchenko
  • Date: 2011-11-13 20:37:10 UTC
  • mfrom: (87.1.2 1.x)
  • Revision ID: ayurchen@void-20111113203710-l2hjr20de14hk79j
References lp:884566 - synced with SVN branch 2.x r2509

Show diffs side-by-side

added added

removed removed

Lines of Context:
206
206
                lock.wait(cond_);
207
207
            }
208
208
 
209
 
            if (process_[idx].state_ == Process::S_WAITING)
 
209
            if (process_[idx].state_ == Process::S_IDLE    ||
 
210
                process_[idx].state_ == Process::S_WAITING )
210
211
            {
211
212
                process_[idx].state_ = Process::S_CANCELED;
212
213
                process_[idx].cond_.signal();
215
216
            }
216
217
            else
217
218
            {
218
 
                log_debug << "cancel, applier state " << process_[idx].state_;
 
219
                log_debug << "interrupting " << obj.seqno()
 
220
                          << " state " << process_[idx].state_
 
221
                          << " le " << last_entered_
 
222
                          << " ll " << last_left_;
219
223
            }
220
224
        }
221
225