업데이트 충돌

설명

review 또는 merchant에 여러 업데이트 (review 또는 merchant ID가 동일한 항목)는 있지만 콘텐츠는 동일하지만 last_update_timestamp이 같은 경우 충돌하는 업데이트가 발생합니다. 이러한 항목은 last_update_timestamp이 동일하므로 어떤 업데이트가 최신인지 식별하지 못합니다.

해결 방법

최신 콘텐츠 및 업데이트된 last_update_timestamp을 사용하여 review 또는 merchant을 전달합니다.

타임스탬프 생성 충돌

create_timestamp의 서로 다른 값으로 인해 두 개의 업데이트가 충돌하는 경우 원래 전송된 생성 시간과 일치하는 생성 시간과 함께 review 또는 merchant을 다시 전송해야 합니다. 생성 시간이 원래 생성 시간과 일치하지 않으면 추가 데이터 문제가 발생합니다.

create_timestamp의 값이 다르기 때문에 두 업데이트가 충돌하고 새 create_timestamp가 정확하다고 생각되면 다음 단계를 따라 새 데이터 문제를 일으키지 않고 review 또는 merchant에 새 생성 시간을 설정합니다.

  1. 의도한 create_timestamp와 업데이트된 last_update_timestamp를 사용하여 review 또는 merchant을 다시 전달합니다.
  2. 지원팀에 새 생성 시간을 사용할 것임을 알리고 항목이 포함된 파일 이름에 새 생성 시간을 제공합니다. 지원팀에서는 새로운 생성 시간이 사용되고 새로운 데이터 문제가 발생하지 않는지 확인합니다.

XML 형식 변경 충돌

XML 파일의 형식 지정 방식 변경으로 인해 충돌이 발생하는 경우(예: 형식 변경) 기본 데이터가 변경되지 않는 경우에는 업데이트 시간을 변경하는 것이 적절하지 않습니다. 이러한 경우 다음 단계를 따르세요.

  1. 지원팀에 last_update_timestamp 업데이트가 불합리한 이유를 알립니다.
  2. 가장 최근에 업데이트된 콘텐츠로 파일을 생성합니다. 이 경우에는 last_update_timestamp를 업데이트할 필요가 없습니다.
  3. 지원팀에 가장 최근에 업데이트된 콘텐츠의 파일 이름을 제공합니다. 지원팀은 가장 업데이트된 콘텐츠가 사용되도록 보장합니다.

3월 1일에 '2017_03_01.xml" 피드 파일을 엔드포인트에 업로드합니다. 파일에는 다음 콘텐츠가 포함되어 있습니다.

<review id="156368" mid="2739">
  <reviewer_name>Ada</reviewer_name>
  <create_timestamp>2017-02-25T03:02:23Z</create_timestamp>
  <last_update_timestamp>2017-02-25T03:02:23Z</last_update_timestamp>
  <country_code>US</country_code>
  <title>Great prices</title>
  <content>My order arrived on time and I got a great price.</content>
  <ratings>
    <overall min="1" max="10">9</overall>
    <customer_service min="1" max="10">10</customer_service>
  </ratings>
  <collection_method>after_fulfillment</collection_method>
</review>

3월 5일에 '2017_03_05.xml" 피드 파일을 엔드포인트에 업로드합니다. 파일에는 리뷰 제목에 관한 사용자 수정사항이 포함되어 있지만 last_update_timestamp는 이 리뷰를 위해 전송된 이전 항목에서 변경되지 않았습니다.

<review id="156368" mid="2739">
  <reviewer_name>Ada</reviewer_name>
  <create_timestamp>2017-02-25T03:02:23Z</create_timestamp>
  <last_update_timestamp>2017-02-25T03:02:23Z</last_update_timestamp>
  <country_code>US</country_code>
  <title>Great prices and customer service!</title>
  <content>My order arrived on time and I got a great price.</content>
  <ratings>
    <overall min="1" max="10"<9>/overall>
    <customer_service min="1" max="10"<10>/customer_service>
  </ratings>
  <collection_method>after_fulfillment</collection_method>
</review>

지원팀으로부터 충돌하는 업데이트 데이터 문제가 발생했다는 알림을 받으면 엔드포인트에 2017_03_10-fix.xml을 업로드하여 문제를 해결합니다.

<review id="156368" mid="2739">
  <reviewer_name>Ada</reviewer_name>
  <create_timestamp>2017-02-25T03:02:23Z</create_timestamp>
  <last_update_timestamp>2017-03-04T02:01:20Z</last_update_timestamp>
  <country_code>US</country_code>
  <title>Great prices and customer service!</title>
  <content>My order arrived on time and I got a great price.</content>
  <ratings>
    <overall min="1" max="10">9</overall>
    <customer_service min="1" max="10">10</customer_service>
  </ratings>
  <collection_method>after_fulfillment</collection_method>
</review>