fork of https://github.com/sourcegraph/zoekt
0

Configure Feed

Select the types of activity you want to include in your feed.

fix: don't delete compounds for inconsistent names (#247)

This fixes a bug where accidently remove compound shards instead of just
tombstoning them.

+1 -1
+1 -1
cmd/zoekt-sourcegraph-indexserver/cleanup.go
··· 80 80 81 81 // We may be in both normal and compound shards in this case. First 82 82 // tombstone the compound shards so we don't just rm them. 83 - simple := shards[0:] 83 + simple := shards[:0] 84 84 for _, s := range shards { 85 85 if shardMerging && maybeSetTombstone([]shard{s}, repo) { 86 86 shardsLog(indexDir, "tombname", []shard{s})