VictoriaMetrics/lib
Aliaksandr Valialkin 44fab198e2 lib/uint64set: return an emptry set instead of nil set from Set.Clone, since the caller may add data to the cloned set
This fixes the following panic in v1.28.1:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x783a7e]

goroutine 1155 [running]:
github.com/VictoriaMetrics/VictoriaMetrics/lib/uint64set.(*Set).Add(0x0, 0x15b3bfb41e8b71ec)
  github.com/VictoriaMetrics/VictoriaMetrics@/lib/uint64set/uint64set.go:57 +0x2e
github.com/VictoriaMetrics/VictoriaMetrics/lib/storage.(*indexSearch).getMetricIDsForRecentHours(0xc5bdc0dd40, 0x16e273f6b50, 0x16e2745d3f0, 0x5b8d95, 0x10, 0x4a2f51, 0xaa01000000000000)
  github.com/VictoriaMetrics/VictoriaMetrics@/lib/storage/index_db.go:1951 +0x260
github.com/VictoriaMetrics/VictoriaMetrics/lib/storage.(*indexSearch).getMetricIDsForTimeRange(0xc5bdc0dd40, 0x16e273f6b50, 0x16e2745d3f0, 0x5b8d95, 0x10, 0xb296c0, 0xc00009cd80, 0x9bc640)
2019-11-01 16:12:21 +02:00
..
auth all: open-sourcing cluster version 2019-05-23 00:25:38 +03:00
buildinfo all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
bytesutil lib/prompb: remove superflouos bytes copying in ReadSnappy 2019-06-18 21:02:02 +03:00
consts all: open-sourcing cluster version 2019-05-23 00:25:38 +03:00
decimal lib/decimal: speed up FromFloat for common case with integers 2019-10-31 13:25:09 +02:00
encoding lib/encoding: optimize UnmarshalUint* and UnmarshalInt* 2019-09-20 13:08:24 +03:00
filestream all: port to FreeBSD on GOARCH=amd64 2019-08-28 01:46:09 +03:00
flagutil lib/flagutil: add NewArray helper func 2019-06-18 10:44:09 +03:00
fs lib/fs: typo fix in comment to WriteFileAtomically 2019-10-29 11:31:34 +02:00
handshake all: report the number of bytes read on io.ReadFull error 2019-09-11 14:50:24 +03:00
httpserver all: return 503 http error if service is temporarily unavailable 2019-08-23 09:49:50 +03:00
logger all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
memory lib/memory: properly handle int overflow in sysTotalMemory 2019-10-17 18:27:49 +03:00
mergeset lib/{mergeset,storage}: limit the maximum number of concurrent merges; leave smaller number of parts during final merge 2019-10-29 12:45:37 +02:00
netutil all: add support for GOARCH=386 and fix all the issues related to 32-bit architectures such as GOARCH=arm 2019-10-17 18:27:49 +03:00
procutil lib/procutil: typo fix in comment to WaitForSigterm 2019-06-03 16:54:37 +03:00
prompb lib/prompb: removed outdated README.md 2019-10-14 22:16:36 +03:00
storage app/vmstorage: add -bigMergeConcurrency and -smallMergeConcurrency flags for tuning the maximum number of CPU cores used during merges 2019-10-31 16:17:29 +02:00
syncwg all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
tenantmetrics app/vminsert: split vm_rows_inserted_total into per-(accountID, projectID) metrics 2019-06-07 22:11:20 +03:00
timerpool lib/timerpool: use timer pool in concurrency limiters 2019-05-28 17:30:10 +03:00
uint64set lib/uint64set: return an emptry set instead of nil set from Set.Clone, since the caller may add data to the cloned set 2019-11-01 16:12:21 +02:00
workingsetcache lib/workingsetcache: remove data race when resetting c.misses 2019-09-22 19:37:09 +03:00