From 723975d2c9dc82810e3c7275098ffa1776873b2e Mon Sep 17 00:00:00 2001 From: Andrea Maria Piana Date: Thu, 4 Jun 2020 12:15:26 +0200 Subject: [PATCH] Upgrade status-go to improve indexing performance. The index for message was fairly inefficient as it was only using the cursor, as it was referring to the old chat_id field. This meant that newer messages would be fetched much faster then older messages. The index has been changed so that now it includes local_chat_id (which is currently used for filtering), and not using hide. The reason being is that hide is a low cardinality index, so there's no performance benefit to have it in, also it's mostly ignored by the query planner. https://github.com/status-im/status-go/pull/1986 Signed-off-by: Andrea Maria Piana --- status-go-version.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/status-go-version.json b/status-go-version.json index fadc654b8a..996566ac45 100644 --- a/status-go-version.json +++ b/status-go-version.json @@ -2,7 +2,7 @@ "_comment": "DO NOT EDIT THIS FILE BY HAND. USE 'scripts/update-status-go.sh ' instead", "owner": "status-im", "repo": "status-go", - "version": "v0.54.0", - "commit-sha1": "0bffeab9088b20aca046673d77b9a86d1889decb", - "src-sha256": "07rly3rlkx7h79ccdc51ji8f4hy3y461scj4slfw8xkbcn80hcb1" + "version": "v0.54.1", + "commit-sha1": "20f45a7c1caa25a30853480ac47177b534536f26", + "src-sha256": "1hsjsv00dlbjp4nqnifymldr8v20arzv07l9l27jarq9dk00wbia" }