MCPcopy Create free account
hub / github.com/couchbase/cbft / executeBatch

Function executeBatch

pindex_bleve.go:2524–2530  ·  view source on GitHub ↗
(bdp []*BleveDestPartition, bdpMaxSeqNums []uint64,
	index bleve.Index, batch *bleve.Batch)

Source from the content-addressed store, hash-verified

2522}
2523
2524func executeBatch(bdp []*BleveDestPartition, bdpMaxSeqNums []uint64,
2525 index bleve.Index, batch *bleve.Batch) {
2526 _, err := execute(bdp, bdpMaxSeqNums, index, batch)
2527 if err != nil {
2528 bdp[0].setLastAsyncBatchErr(err)
2529 }
2530}
2531
2532func execute(bdp []*BleveDestPartition, bdpMaxSeqNums []uint64,
2533 bindex bleve.Index, batch *bleve.Batch) (bool, error) {

Callers 1

runBatchWorkerFunction · 0.85

Calls 2

executeFunction · 0.85
setLastAsyncBatchErrMethod · 0.80

Tested by

no test coverage detected