You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: kv_batch_fetcher.go
    path of file: ./repos/cockroach/pkg/sql/row
    
    the code of the file until where you have to start completion: // Copyright 2016 The Cockroach Authors.
//
// Use o
    
func (f *txnKVFetcher) reset(ctx context.Context) {
	f.alreadyFetched = false
	f.batchIdx = 0
	f.responses = nil
	f.remainingBatches = nil
	f.remainingColBatches = nil
	f.spans = identifiableSpans{}
	f.scratchSpans = identifiableSpans{}
	// Release only the allocations made by this fetcher. Note that we're still
	// keeping the reference to reqsScratch, so we don't release the allocation
	// for it.
	f.acc.Shrink(ctx, f.batchResponseAccountedFor+f.spansAccountedFor)
	f.batchResponseAccountedFor, f.spansAccountedFor = 0, 0
}