MCPcopy Create free account
hub / github.com/actiontech/dtle / onError

Method onError

driver/oracle/extractor/extractor_oracle.go:822–834  ·  view source on GitHub ↗
(state int, err error)

Source from the content-addressed store, hash-verified

820}
821
822func (e *ExtractorOracle) onError(state int, err error) {
823 e.logger.Error("onError", "err", err, "hasShutdown", e.shutdown)
824 if e.shutdown {
825 return
826 }
827 common.WriteWaitCh(e.waitCh, &drivers.ExitResult{
828 ExitCode: state,
829 Signal: 0,
830 OOMKilled: false,
831 Err: err,
832 })
833 _ = e.Shutdown()
834}
835
836func (e *ExtractorOracle) sendFullComplete() (err error) {
837 dumpMsg, err := common.Encode(&common.DumpStatResult{

Callers 6

RunMethod · 0.95
StatsMethod · 0.95
initiateStreamingMethod · 0.95
initDBConnectionsMethod · 0.95
StreamEventsMethod · 0.95
oracleDumpMethod · 0.95

Calls 2

ShutdownMethod · 0.95
WriteWaitChFunction · 0.92

Tested by

no test coverage detected