문제

During an update, if the part of index that needs to be updated is not in memory, will MongoDB yields the write lock during the index page fault?

The documentation mentions about yield on page faults. Does it apply to page faults in index too or only documents?

도움이 되었습니까?

해결책

Unfortunately this does not happen for indexes during an update, aside from what the query may use to get to the document. Currently it only happens for the document(s) being updated.

There is a feature request for this, so feel free to watch and vote for SERVER-13325

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top