We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a847461 commit 476c606Copy full SHA for 476c606
pkg/backup.go
@@ -635,7 +635,7 @@ func disabelBalancer(mongosHost string) error {
635
636
err = json.Unmarshal(output, &v)
637
if err != nil {
638
- klog.Errorf("Unmarshal error while stopping balancer : %s \n", err.Error())
+ klog.Errorf("Unmarshal error while stopping balancer : %s ; output = %s \n", err.Error(), output)
639
return err
640
}
641
@@ -813,6 +813,7 @@ func unlockSecondaryMember(mongohost string) error {
813
"--quiet",
814
"--eval", "JSON.stringify(db.fsyncUnlock())",
815
}, mongoCreds...)
816
+
817
output, err := sh.Command(MongoCMD, args...).Output()
818
819
klog.Errorf("Error while running fsyncUnlock on secondary : %s ; output : %s \n", err.Error(), output)
0 commit comments