Comments randomly disappear

Currently, I evaluate Upsource for your project. We have external team support and they access our Upsource via another IP address. In order to get Upsource working externally and internally we use a fake hostname. On the Upsource machine this hostname maps to localhost. The internal developers map this name to the internal IP of the Upsource server. The external developers map this name to external IP of the Upsource server.

This works quite well! However, sometimes comments from developers disappear. For example, external developers comment on a Review and this comment appears shortly but then disappears. Further, comments from the previous day randomly disappear on the next day.

Is this an Upsource caching issue or some wrong settings configuration?

We use Ubuntu 14.04 LTS and run Upsource behind nginx with https that redirects the requests to localhost.

3 comments
Comment actions Permalink

Hi Sven,

Difficult to say, could you please share nginx config file as well as Upsource logs directory?

Thank you.

0
Comment actions Permalink

Hello Artem,

Unfortunately, I cannot send you the logs due to company compliance. I found out that we had an OutOfMemory Error with Cassandra. It seems like the database is now corrupt and on the Review overview Upsource cannot load one Review and throws an exception in the log and on the GUI when selecting "Add Reviewer". Maybe this causes all the issues.

Is there an easy way to reset the Review database and maintain the users and repositories?

Is it possible to prevent OutOfMemory Errors of Cassandra with some settings?

0
Comment actions Permalink

Hi Sven,

Sorry for the delay.

You might drop all reviews via Upsource console. Start the console via <Upsource_home_dir>/lib/upsource-console.sh and run the following command there: wipe-review. It will completely delete all reviews for all projects. Are you sure  it's what you want?

As for Cassandra issue, it's pretty simple. Assign more memory for Upsource server and increase Xmx for Cassandra as described here - https://upsource-support.jetbrains.com/hc/en-us/articles/206545679-Cassandra-issues-Increasing-memory-for-Cassandra-

Hope that helps.

 

0

Please sign in to leave a comment.