Skip to content

Commit 7132ae1

Browse files
chore: remove comments, regenerate config
1 parent b7c849a commit 7132ae1

File tree

2 files changed

+2
-25
lines changed

2 files changed

+2
-25
lines changed

doc/config.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,8 @@ Only one tag used as filter for index field Tag1, see graphite_tagged table [str
313313
tags-adaptive-queries = 0
314314
# If a wildcard appears both at the start and the end of a plain query at a distance (in terms of nodes) less than wildcard-min-distance, then it will be discarded. This parameter can be used to discard expensive queries.
315315
wildcard-min-distance = 0
316+
# Plain queries like '{first,second}.custom.metric.*' are also a subject to wildcard-min-distance restriction. But can be split into 2 queries: 'first.custom.metric.*', 'second.custom.metric.*'.
317+
try-split-query = false
316318
# Minimum tags in seriesByTag query
317319
tags-min-in-query = 0
318320
# Minimum tags in autocomplete query

finder/index.go

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -249,31 +249,6 @@ func (idx *IndexFinder) bodySplit() {
249249
if setDirect {
250250
idx.reverse = queryDirect
251251
}
252-
253-
//if len(idx.body) == 0 {
254-
// return
255-
//}
256-
//
257-
//idx.rows = bytes.Split(bytes.TrimSuffix(idx.body, []byte{'\n'}), []byte{'\n'})
258-
//
259-
//if idx.useReverse("") {
260-
// // rotate names for reduce
261-
// var buf bytes.Buffer
262-
// if idx.useCache {
263-
// buf.Grow(len(idx.body))
264-
// }
265-
// for i := 0; i < len(idx.rows); i++ {
266-
// idx.rows[i] = ReverseBytes(idx.rows[i])
267-
// if idx.useCache {
268-
// buf.Write(idx.rows[i])
269-
// buf.WriteByte('\n')
270-
// }
271-
// }
272-
// if idx.useCache {
273-
// idx.body = buf.Bytes()
274-
// idx.reverse = queryDirect
275-
// }
276-
//}
277252
}
278253

279254
func makeList(rows [][]byte, onlySeries bool) [][]byte {

0 commit comments

Comments
 (0)