From e6496b45d8ae74d3ac81941c32dc63835ec63c81 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Tue, 24 Dec 2013 15:46:17 -0800 Subject: [PATCH] index: update index-out-of-sync error message to suggest camlistored --reindex Change-Id: I17dcd758e49a25c05ab5519a49ed3832610d2ba0 --- pkg/index/index.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/index/index.go b/pkg/index/index.go index 014a9d218..2cde49850 100644 --- a/pkg/index/index.go +++ b/pkg/index/index.go @@ -81,7 +81,7 @@ func New(s sorted.KeyValue) *Index { // the user with a more useful tip: tip = `(For the dev server, run "devcam server --wipe" to wipe both your blobs and index)` } else { - tip = "See 'camtool dbinit' (or just delete the file for a file based index), and then 'camtool sync --all'" + tip = "Run 'camlistored --reindex' (it might take awhile, but shows status). Alternative: 'camtool dbinit' (or just delete the file for a file based index), and then 'camtool sync --all'" } log.Fatalf("index schema version is %d; required one is %d. You need to reindex. %s", schemaVersion, requiredSchemaVersion, tip)