MCPcopy Create free account
hub / github.com/dolthub/doltgresql / Running

Method Running

server/logrepl/replication.go:396–400  ·  view source on GitHub ↗

Running returns whether replication is currently running

()

Source from the content-addressed store, hash-verified

394
395// Running returns whether replication is currently running
396func (r *LogicalReplicator) Running() bool {
397 r.mu.Lock()
398 defer r.mu.Unlock()
399 return r.running
400}
401
402// Stop stops the replication process and blocks until clean shutdown occurs.
403func (r *LogicalReplicator) Stop() {

Callers 1

waitForRunningFunction · 0.80

Calls 2

LockMethod · 0.80
UnlockMethod · 0.80

Tested by 1

waitForRunningFunction · 0.64