mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-31 15:06:26 +00:00
lib/logstorage/pipe_sort.go: wip
This commit is contained in:
parent
5c4679ba01
commit
1834c68250
1 changed files with 4 additions and 1 deletions
|
@ -583,7 +583,10 @@ func sortBlockLess(shardA *pipeSortProcessorShard, rowIdxA int, shardB *pipeSort
|
|||
if ccA == ccB {
|
||||
continue
|
||||
}
|
||||
return cA.c.encodedValues[0] < cB.c.encodedValues[0]
|
||||
if isDesc {
|
||||
return ccB < ccA
|
||||
}
|
||||
return ccA < ccB
|
||||
}
|
||||
|
||||
if cA.c.isTime && cB.c.isTime {
|
||||
|
|
Loading…
Reference in a new issue