PBM-agent default Restore values

Hi there!
Regarding the documentation Configuration file options — Percona Backup for MongoDB 1.8 Documentation default values of the Restore process should be

  batchSize: 500
  numInsertionWorkers: 10

but after applying config without Restore options we’ve got:

config:PRIMARY> db.pbmConfig.find()
{ "_id" : ObjectId("6151d8faacdhh12c91f45a"), "backup" : {  }, "epoch" : Timestamp(16331238646, 1), "pitr" : { "enabled" : false, "oplogSpanMin" : 0 }, "restore" : { "batchSize" : 0, "numInsertionWorkers" : 0 }, "storage" : { "type" : "s3", "s3" : { "provider" : "aws", "region" : "us-central-1", "endpointUrl" : "https://minio.testdomain.com:9443", "bucket" : "mongo", "prefix" : "/", "credentials" : { "access-key-id" : "***************************", "secret-access-key" : "***************************", "vault" : { "server" : "", "secret" : "", "token" : "" } } }, "azure" : { "account" : "", "container" : "", "prefix" : "", "credentials" : { "key" : "" } }, "filesystem" : { "path" : "" } } }
config:PRIMARY>

"restore" : { "batchSize" : 0, "numInsertionWorkers" : 0 }

As I understand it means “no limit”. In this case, it’s a bug and must be fixed.

1 Like