Hi Harish, Yeah, in Usergrid 2 you can re-index all of the entity data that exists in Cassandra. Here are example curl requests that invoke the reindex APIs:
*Full system re-index:* curl -i -X POST -u <sysadmin user>:<sysadmin pass> " http://localhost:8080/system/index/rebuild" *Per application re-index:* curl -i -X POST -u <sysadmin user>:<sysadmin pass> " http://localhost:8080/system/index/rebuild/<application uuid>" Thanks. -Michael On Fri, Jan 22, 2016 at 4:37 AM, Harish Singh Bisht < [email protected]> wrote: > Hi Team, > > We have been our testing our application based on Usergrid 2 (master > branch) and started noticing unusual poor performance with spikes in the > response time. > > Our investigations revealed that during the load testing we ran out of HDD > space on the elasticsearch single node cluster. This led to indexing > failures. > > So we increased the HDD space and restarted ES. But now the cluster health > is red and alot of shards are in the initializing state. It seem data has > been lost on the ES node. > > Is there any way to recover the lost data in ES? Specifically, is there a > way to trigger a re-index of data from Cassandra to ES? > > Appreciate the help. > > Thanks > Harish > > -- > Regards, > Harish Singh Bisht > >
