> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-postgresql-tls-support.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# skip_unavailable_shards_* 세션 설정

> skip_unavailable_shards_* 자동 생성 그룹의 ClickHouse 세션 설정입니다.

export const VersionHistory = ({rows = []}) => {
  if (rows.length === 0) {
    return null;
  }
  const headers = ["버전", "기본값", "설명"];
  const border = "1px solid rgba(128, 128, 128, 0.3)";
  const cell = {
    border,
    padding: "0.25rem 0.5rem",
    textAlign: "start",
    verticalAlign: "top"
  };
  return <details className="not-prose" style={{
    border,
    borderRadius: "0.5rem",
    margin: "0.5rem 0",
    padding: "0.5rem 0.75rem",
    fontSize: "0.8125rem",
    lineHeight: "1.125rem"
  }}>
      <summary style={{
    cursor: "pointer",
    fontWeight: 600,
    opacity: 0.72
  }}>
        버전 이력
      </summary>
      <table style={{
    borderCollapse: "collapse",
    width: "100%",
    margin: "0.5rem 0 0"
  }}>
        <thead>
          <tr>
            {headers.map(header => <th key={header} style={{
    ...cell,
    fontWeight: 600,
    opacity: 0.72
  }}>
                {header}
              </th>)}
          </tr>
        </thead>
        <tbody>
          {rows.map((row, row_index) => <tr key={row.id ?? row_index}>
              {(row.items ?? []).map((item, item_index) => <td key={item_index} style={{
    ...cell,
    overflowWrap: "anywhere"
  }}>
                  {item?.label}
                </td>)}
            </tr>)}
        </tbody>
      </table>
    </details>;
};

export const SettingsInfoBlock = ({type, default_value, changeable_without_restart}) => {
  return <div className="not-prose" style={{
    display: "flex",
    flexWrap: "wrap",
    alignItems: "baseline",
    columnGap: "0.5rem",
    rowGap: "0.125rem",
    margin: "0.375rem 0",
    fontSize: "0.8125rem",
    lineHeight: "1.125rem"
  }}>
      <div style={{
    fontWeight: 600,
    opacity: 0.72
  }}>유형</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{type}</div>
      <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>기본값</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{default_value}</div>
      {changeable_without_restart && <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>
          재시작 없이 변경 가능
        </div>}
      {changeable_without_restart && <div style={{
    overflowWrap: "anywhere"
  }}>
          {changeable_without_restart}
        </div>}
    </div>;
};

이 설정은 [system.settings](/ko/reference/system-tables/settings)에서 확인할 수 있으며 [소스 코드](https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Settings.cpp)에서 자동 생성됩니다.

<div id="skip_unavailable_shards">
  ## skip\_unavailable\_shards
</div>

<SettingsInfoBlock type="Bool" default_value="0" />

사용할 수 없는 세그먼트를 오류 없이 건너뛸지 여부를 설정합니다.

이 설정의 동작은 `skip_unavailable_shards_mode` 매개변수로 제어됩니다.

가능한 값:

* 1 — 스키핑이 활성화됩니다.

  세그먼트를 사용할 수 없으면 ClickHouse는 부분 데이터만으로 결과를 반환하며, 노드 가용성 문제는 보고하지 않습니다.

* 0 — 스키핑이 비활성화됩니다.

  세그먼트를 사용할 수 없으면 ClickHouse는 예외를 발생시킵니다.

<div id="skip_unavailable_shards_mode">
  ## skip\_unavailable\_shards\_mode
</div>

<SettingsInfoBlock type="SkipUnavailableShardsMode" default_value="unavailable_or_table_missing" />

`skip_unavailable_shards`가 활성화된 경우 원격 세그먼트에서 발생하는 예외 중 어떤 것을 조용히 무시할지 제어합니다. `skip_unavailable_shards = 0`이면 이 설정은 아무런 영향을 주지 않습니다.

가능한 값:

* `unavailable` — 연결 관련 오류만 무시합니다. ClickHouse가 해당 세그먼트의 어느 레플리카에도 연결할 수 없거나, 레플리카의 호스트명을 DNS로 확인할 수 없는 경우 해당 세그먼트는 사용할 수 없는 것으로 간주됩니다.

* `unavailable_or_table_missing` — `unavailable`에 더해, 세그먼트에 테이블 또는 데이터베이스가 없어서 발생하는 오류도 무시합니다. 이는 클러스터 전체에서 테이블이 생성되거나 삭제되는 동안 유용합니다. 이것이 기본값이며, 테이블이 존재하지 않는 세그먼트도 사용할 수 없는 것으로 처리하던 `skip_unavailable_shards`의 기존 동작과 일치합니다.

* `unavailable_or_exception_before_processing` — `unavailable`에 더해, 세그먼트가 시작 노드(initiator)에 데이터 블록을 하나도 반환하기 전에 해당 세그먼트로부터 받은 모든 예외를 무시합니다. 세그먼트가 이미 일부 데이터를 반환한 뒤 도착한 예외는 항상 다시 발생시킵니다. "데이터를 전혀 반환하기 전"인지는 시작 노드에서 판단된다는 점에 유의하십시오. 차단성 계산(예: 집계, 정렬 또는 `LIMIT BY`)을 수행하는 세그먼트는 블록을 하나도 내보내기 전에 행을 처리하다가 실패할 수 있으며, 이 경우 해당 세그먼트의 부분 작업은 조용히 버려지고 쿼리는 나머지 세그먼트들로 구성된 결과를 반환합니다. 따라서 이는 가장 허용 범위가 넓은 모드이므로 주의해서 사용해야 합니다.
