강의

멘토링

커뮤니티

Inflearn Community Q&A

yoonsik1313310's profile image
yoonsik1313310

asked

Elasticsearch with Silicon Valley Engineers

Let's explore methods for resolving Concurrency.

동시성 관련되어 궁금증이 생겨 질문을 남깁니다

Resolved

Written on

·

114

0

안녕하세요!

조회후 업데이트 로직이 있는 부분에서는 동시성 이슈가 발생할 여지가 있다고 생각이 들었습니다. 이런 경우 모든 POST동작에 if_primary_term, if_seq_no를 명시적으로 구성해주어야 하는건가요?

elasticsearchfull-text-searchsearching

Answer 1

0

altoformula님의 프로필 이미지
altoformula
Instructor

안녕하세요 가보자!!님,

네, 그렇습니다.

특정 시점에서 조회한 seq no와 primary term을 유지하고, 업데이트 요청 시 함께 보내서 변경된 데이터가 없을 때만 업데이트가 적용되도록 보장해야 합니다.

yoonsik1313310's profile image
yoonsik1313310

asked

Ask a question