HoustonPutman commented on code in PR #712:
URL: https://github.com/apache/solr-operator/pull/712#discussion_r3012805534


##########
controllers/solrcloud_controller.go:
##########
@@ -560,6 +563,12 @@ func (r *SolrCloudReconciler) Reconcile(ctx 
context.Context, req ctrl.Request) (
                                clusterOpQueue[queueIdx] = *clusterOp
                                clusterOp = nil
                        }
+                       clusterOp, retryLaterDuration, err = 
determinePvcExpansionClusterOpLockIfNecessary(instance, statefulSet)
+                       // If the new clusterOperation is an update to a queued 
clusterOp, just change the operation that is already queued
+                       if queueIdx, opIsQueued := queuedRetryOps[UpdateLock]; 
clusterOp != nil && opIsQueued {

Review Comment:
   This was correct, but there was an additional bug that this surfaced.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to