foundationdb
foundationdb copied to clipboard
Multiple DCs: do not index tags which are not from your own locality on the tlogs
Currently all tags on a message are indexed from all tlogs, however storage servers will only read from logs in their local DC. This is inefficient both because of the extra work and memory on the tlogs and because of the need to pop tags from all tlogs instead of the just from the local tlogs.
The only known time we read tags from other DCs is when configuring from locality aware configurations to non-locality aware configurations. In this scenario we currently rely on peeking from the primary and satellite from the remote logs.