fix(unified-storage): use continue token containing both formats for dualwriter (#106525)

This commit is contained in:
Jean-Philippe Quéméner
2025-06-13 15:59:46 +02:00
committed by GitHub
parent 8504f7ea90
commit 5f21f320f7
9 changed files with 355 additions and 33 deletions

View File

@ -551,6 +551,7 @@ type Cfg struct {
// Unified Storage
UnifiedStorage map[string]UnifiedStorageConfig
MaxPageSizeBytes int
IndexPath string
IndexWorkers int
IndexMaxBatchSize int

View File

@ -51,6 +51,7 @@ func (cfg *Cfg) setUnifiedStorageConfig() {
// Set indexer config for unified storaae
section := cfg.Raw.Section("unified_storage")
cfg.MaxPageSizeBytes = section.Key("max_page_size_bytes").MustInt(0)
cfg.IndexPath = section.Key("index_path").String()
cfg.IndexWorkers = section.Key("index_workers").MustInt(10)
cfg.IndexMaxBatchSize = section.Key("index_max_batch_size").MustInt(100)