code: @Deprecated
      @Override
      public void storeOverriddenStatusIfRequired(String id, InstanceStatus overriddenStatus) {
          InstanceStatus instanceStatus = overriddenInstanceStatusMap.get(id);
          if ((instanceStatus == null)
                  || (!overriddenStatus.equals(instanceStatus))) {
              // We might not have the overridden status if the server got restarted -this will help us maintain
              // the overridden state from the replica
              logger.info(
                      "Adding overridden status for instance id {} and the value is {}",
                      id, overriddenStatus.name());
              overriddenInstanceStatusMap.put(id, overriddenStatus);
              List<InstanceInfo> instanceInfo = this.getInstancesById(id, false);
              if ((instanceInfo != null) && (!instanceInfo.isEmpty())) {
                  instanceInfo.iterator().next().setOverriddenStatus(overriddenStatus);
                  logger.info(
                          "Setting the overridden status for instance id {} and the value is {} ",
                          id, overriddenStatus.name());
  
              }
          }
      }
docs: @deprecated this is expensive, try not to use. See if you can use
  {@link #storeOverriddenStatusIfRequired(String, String, InstanceStatus)} instead.
  
  Stores overridden status if it is not already there. This happens during
  a reconciliation process during renewal requests.
  
  @param id the unique identifier of the instance.
  @param overriddenStatus Overridden status if any.