You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now log onto Team Settings and check your member list if it is correct.
180
+
If it is, you can stop using `additionalWriteIndex` and delete the old one.
181
+
182
+
### Using modified Helm charts (and building it from scratch)
183
+
184
+
The following process uses charts for `elasticsearch-migrate` (which is a modified `elasticsearch-index` subchart of wire-server). If you are building an index from scratch, you can ignore "dual" writing with `additionalWriteIndex`.
tag: 5.23.0 # or whichever version you are running atm, the current method has been tested with 5.23 and 5.25
202
+
```
203
+
204
+
This will create a new index called `directory_new` after it has been run. The name of a new index can be of your choosing, `directory_new` was selected as the previous default one was `directory`.
205
+
206
+
Run it with helm (mind the following command assumes some paths which might not be applicable in your installation):
This should start a kubernetes `Job` named `elasticsearch-migrate-data` that might take several hours to run, depending on the amount of data it needs to re-create.
250
+
Galley pods might get OOMKilled during this, if that is the case, increase galley memory for requests and limits (we found in Wire Cloud prod 8Gi is sufficient):
After the reindexing is complete, configure wire-server to read from the new index:
270
+
271
+
```
272
+
brig:
273
+
config:
274
+
elasticsearch:
275
+
index: directory_new
276
+
elasticsearch-index:
277
+
elasticsearch:
278
+
index: directory_new
279
+
```
280
+
281
+
After verifying all is okay on the client side (check your Team Settings UI, if you can see your team user list). You can delete the old index in your ES cluster with:
282
+
283
+
curl -X DELETE “localhost:9200/directory”
284
+
285
+
## Aliasing
286
+
287
+
To alias an index, use the Native Elasticsearch API in your ES cluster like so:
0 commit comments