Details
-
Bug
-
Resolution: Done
-
Critical - P2
-
2.2.0-rc0
-
None
-
None
-
ALL
Description
From primary log:
Thu Jul 19 12:24:46 [conn2] info: indexing in foreground on this replica; was a background index build on the primary
Error in logic,
if (background && ((!theReplSet && cc().isSyncThread()) || (theReplSet && !theReplSet->isSecondary()))) {
|
in pdfile.cpp should be something like:
if (background && ((!theReplSet && cc().isSyncThread()) ||
|
(theReplSet && !theReplSet->isPrimary() && !theReplSet->isSecondary()))) {
|