Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Incremental background updates for db indexes #359

Merged
merged 7 commits into from
Nov 11, 2015

Conversation

NegativeMjark
Copy link
Contributor

Update database indexes, like full-text-search, in the background while synapse is running.
Each update tracks it progress as a JSON object.

Update full-text search to use the background re-indexing.

Mark Haines added 6 commits November 9, 2015 17:26
The progress for each background update is stored as a JSON blob in the
database. Each background update is broken up into separate batches.
The batch size is automatically tuned to try avoid blocking single
threaded databases for too long.
@erikjohnston
Copy link
Member

LGTM

erikjohnston added a commit that referenced this pull request Nov 11, 2015
Incremental background updates for db indexes
@erikjohnston erikjohnston merged commit e21cef9 into develop Nov 11, 2015
@erikjohnston erikjohnston deleted the markjh/incremental_indexing branch November 19, 2015 17:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants