MCPcopy Create free account
hub / github.com/brimdata/super / Abort

Method Abort

db/writer.go:231–244  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

229}
230
231func (w *SortedWriter) Abort() {
232 if w.writer != nil {
233 w.writer.Abort()
234 w.writer = nil
235 }
236 if w.vectorWriter != nil {
237 w.vectorWriter.Abort()
238 w.vectorWriter = nil
239 }
240 // Delete all created objects.
241 for _, o := range w.objects {
242 o.Remove(w.ctx, w.pool.engine, w.pool.DataPath)
243 }
244}
245
246func (w *SortedWriter) newWriter() error {
247 o := data.NewObject()

Callers 2

CompactFunction · 0.95
WriteMethod · 0.95

Calls 1

RemoveMethod · 0.45

Tested by

no test coverage detected