Change default retentionSizeInMB to 8192(8GB) (#11436)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
pull/11663/head
yukun 2021-11-11 17:18:43 +08:00 committed by GitHub
parent 4138d32af7
commit f51ef71b51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -44,9 +44,9 @@ pulsar:
rocksmq:
path: /var/lib/milvus/rdb_data
rocksmqPageSize: 2147483648 # 2 GB, 2 * 1024 * 1024 * 1024
retentionTimeInMinutes: 4320 # 3 days, 3 * 24 * 60
retentionSizeInMB: 0
rocksmqPageSize: 2147483648 # 2 GB, 2 * 1024 * 1024 * 1024 bytes
retentionTimeInMinutes: 10080 # 7 days, 7 * 24 * 60 minutes
retentionSizeInMB: 8192 # 8 GB, 8 * 1024 MB
# Related configuration of rootCoord, used to handle data definition language (DDL) and data control language (DCL) requests
rootCoord:

View File

@ -26,10 +26,10 @@ import (
)
// RocksmqRetentionTimeInMinutes is the time of retention
var RocksmqRetentionTimeInMinutes int64 = 4320
var RocksmqRetentionTimeInMinutes int64 = 10080
// RocksmqRetentionSizeInMB is the size of retention
var RocksmqRetentionSizeInMB int64 = 0
var RocksmqRetentionSizeInMB int64 = 8192
// Const value that used to convert unit
const (