Stuck while Removing Indexes

35 views
Skip to first unread message

Eyal Yavor

unread,
Aug 22, 2017, 12:14:21 PM8/22/17
to Google App Engine
Using project meekan-new-meeting.
Tried to create 6 new indexes, and it resulted in "Error" state.
Afterwards, tried to "vaccum" them, and it resulted in a permanent "Removing.." state.
It's been going on for a few hours now.

a) Is it possible to clean it up?
b) Those indexes would be about 50-100 GB each. How can I create them and verify it won't happen again?

Thank you for your help,
Eyal

Kenworth (Google Cloud Platform)

unread,
Aug 22, 2017, 8:22:05 PM8/22/17
to Google App Engine
I noticed the 6 indexes were already deleted from your project. It is possible you experienced a case of "exploding" indexes.  You can read more about this here. I also recommend reading index's best practices.

1- Creating Indexes (gcloud) 

datastore create-indexes

2- Deleting Indexes (gcloud)

datastore cleanup-indexes

This article discusses the development workflow of indexes using the "gcloud" tool.

Reply all
Reply to author
Forward
0 new messages