tmp
This commit is contained in:
9
qb.go
9
qb.go
@@ -31,6 +31,9 @@ type TimestampCompressor interface {
|
||||
Renew()
|
||||
Lock()
|
||||
Unlock()
|
||||
CreateDecompressor() TimestampDecompressor
|
||||
Snapshot() ([][]byte, int) // chunks, size
|
||||
Offset() int
|
||||
//LastTimestamp() uint32
|
||||
}
|
||||
|
||||
@@ -43,6 +46,10 @@ type ValueCompressor interface {
|
||||
Renew() // створює новий conbuf, але не чіпає state
|
||||
Lock()
|
||||
Unlock()
|
||||
// fracDigits
|
||||
CreateDecompressor(byte) ValueDecompressor
|
||||
Snapshot() ([][]byte, int) // chunks, size
|
||||
Offset() int
|
||||
//LastValue() float64
|
||||
}
|
||||
|
||||
@@ -66,6 +73,7 @@ const (
|
||||
WrongResultCodeBug AbortCode = 6
|
||||
RemoveREDOFileFailed AbortCode = 7
|
||||
FailedAtreeRequest AbortCode = 8
|
||||
FailedGetPageNumber AbortCode = 9
|
||||
UnknownTxLogRecordTypeBug AbortCode = 11
|
||||
HasTimestampNoValueBug AbortCode = 12
|
||||
NoMetricBug AbortCode = 13
|
||||
@@ -77,6 +85,7 @@ const (
|
||||
FailedFreeListSerialize AbortCode = 19
|
||||
UnknownWorkerQueueItemBug AbortCode = 20
|
||||
UnknownMetricWaitQueueItemBug AbortCode = 21
|
||||
RepeatableLock AbortCode = 22
|
||||
//
|
||||
GetRecoveryRecipeFailed AbortCode = 26
|
||||
LoadSnapshotFailed AbortCode = 27
|
||||
|
||||
Reference in New Issue
Block a user