public static Set<String> getSideInputStoreNames(
      Map<String, Set<SystemStream>> sideInputSystemStreams,
      Map<String, SystemStream> changelogSystemStreams,
      ContainerModel containerModel) {
    // add all the side input stores by default regardless of active vs standby
    Set<String> sideInputStores = new HashSet<>(sideInputSystemStreams.keySet());

    // In case of standby tasks, we treat the stores that have changelogs as side input stores for bootstrapping state
    if (getTasks(containerModel, TaskMode.Standby).size() > 0) {
      sideInputStores.addAll(changelogSystemStreams.keySet());
    }
    return sideInputStores;
  }
Fetch the side input stores. For active containers, the stores correspond to the side inputs and for standbys, they
include the durable stores.
@param sideInputSystemStreams the map of store to side input system streams
@param changelogSystemStreams the map of store to changelog system streams
@param containerModel the container's model
@return A set of side input stores
samza-core/src/main/scala/org/apache/samza/storage/ContainerStorageManagerUtil.java