My indexes seem to be stuck "Building" (2 weeks)

40 views
Skip to first unread message

HOCINE BENFERHAT

unread,
Mar 4, 2013, 1:45:26 PM3/4/13
to google-a...@googlegroups.com, eddie shimonov
Appid: smilesensationsdental

Our indexes have been "Building" for two weeks now, would someone please look into it? My boss is getting impatient with me.

We've re-factored and I just now vacuumed the old instances.



RecordEntity  , Updated 
Building
12631 KBytes

ServiceDentist  , Date 
Building
3645 Bytes

Insurance  , Date 
Building
3687 Bytes

Procedure  , Date 
Building
3675 Bytes

HOCINE BENFERHAT

unread,
Mar 4, 2013, 1:54:24 PM3/4/13
to google-a...@googlegroups.com, eddie shimonov
Vacuumed the old indexes*

Takashi Matsuo

unread,
Mar 4, 2013, 1:59:45 PM3/4/13
to google-a...@googlegroups.com, eddie shimonov
Hi Johnson,

I checked the logs and found that the cause is invalid utf-8 strings
in the keys of some of your entities, specifically with the kind
'Session'.
Here is the similar case:
https://code.google.com/p/googleappengine/issues/detail?id=8600

Do you put parent keys on those entities? If yes how?
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengi...@googlegroups.com.
> To post to this group, send email to google-a...@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-appengine?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>



--
Takashi Matsuo | Developers Advocate | tma...@google.com

HOCINE BENFERHAT

unread,
Mar 4, 2013, 2:55:47 PM3/4/13
to google-a...@googlegroups.com, eddie shimonov
Hi Takashi, thanks for the quick response! 

I don't use any parent keys at all, AFAIK. I use Gorilla Toolkit (similar to Tipfy) for sessions: https://github.com/gorilla/sessions

This is the GAE wrapper Rodrigo Moraes wrote for it: http://godoc.org/code.google.com/p/sadbox/appengine/sessions

I will refer Rodrigo to this thread, and I will purge the Session entites using Datastore Admin (Viewer fails with "Server Error A server error has occurred.").

Once we resolve the issue, as long as there are no entities with bad keys in the datastore, will index building commence/continue normally, or do I have to come back here to request a reset?

Takashi Matsuo

unread,
Mar 4, 2013, 3:47:16 PM3/4/13
to google-a...@googlegroups.com, eddie shimonov
On Mon, Mar 4, 2013 at 11:55 AM, Johnson <ben...@gmail.com> wrote:
> Hi Takashi, thanks for the quick response!
>
> I don't use any parent keys at all, AFAIK. I use Gorilla Toolkit (similar to
> Tipfy) for sessions: https://github.com/gorilla/sessions
>
> This is the GAE wrapper Rodrigo Moraes wrote for it:
> http://godoc.org/code.google.com/p/sadbox/appengine/sessions
>
> I will refer Rodrigo to this thread, and I will purge the Session entites
> using Datastore Admin (Viewer fails with "Server Error A server error has
> occurred.").
>
> Once we resolve the issue, as long as there are no entities with bad keys in
> the datastore, will index building commence/continue normally, or do I have
> to come back here to request a reset?

Please let me know when you resolve the bad keys.

Takashi Matsuo

unread,
Mar 4, 2013, 5:07:00 PM3/4/13
to google-a...@googlegroups.com, eddie shimonov
Okay, we've built your indexes.
Please note that the keys with invalid utf-8 characters will cause a
similar problem again.

HOCINE BENFERHAT

unread,
Mar 4, 2013, 6:41:24 PM3/4/13
to google-a...@googlegroups.com, eddie shimonov
Thanks Takashi, I appreciate it! 

Rodrigo is normally very helpful, so hopefully he'll have time and we can figure out what happened. In the meantime, I've removed Sessions from my app.
Reply all
Reply to author
Forward
0 new messages