Vladimir Kotal

Results 485 comments of Vladimir Kotal

The next run ended with the same after some 24 hours (I could not really tell the precise time because of power outage at night that might have put my...

Wow, the container running `opengrok/docker:master` with `SYNC_PERIOD_MINUTES: '0'` (which means there was just a single sync - when the container was started) ended after some 10 hours with: ``` opengrok-test...

I modified `start.py` to serve basically as a signal waiter so the `main()` basically looks like this: ```python signal.signal(signal.SIGTERM, signal_handler) signal.signal(signal.SIGINT, signal_handler) logger.info("Waiting for signal on PID {}".format(os.getpid())) siginfo =...

When I tried to debug this last time, the tracepoints I used did not generate any events and siginfo lacked data about what generated the signal. I'd like to retry...

The workaround is of course to set the timeout to some insanely high value however this does not solve the case when `hg` fails by itself for some other reason...

Not sure what is the exact mechanism of triggering the history index for each file but maybe the solution would be to propagate the top-level directory `hg log` failure and...

Thinking of this, the mechanism is most probably similar to that of SCM types which do not support per-directory history such as CVS.

The stack looks like this: ``` org.opensolaris.opengrok.history.MercurialRepository.getHistoryLogExecutor(MercurialRepository.java:112) org.opensolaris.opengrok.history.MercurialHistoryParser.parse(MercurialHistoryParser.java:75) org.opensolaris.opengrok.history.MercurialRepository.getHistory(MercurialRepository.java:515) org.opensolaris.opengrok.history.MercurialRepository.getHistory(MercurialRepository.java:508) org.opensolaris.opengrok.history.FileHistoryCache.get(FileHistoryCache.java:378) org.opensolaris.opengrok.history.HistoryGuru.getHistory(HistoryGuru.java:209) org.opensolaris.opengrok.history.HistoryGuru.getHistoryReader(HistoryGuru.java:172) org.opensolaris.opengrok.analysis.AnalyzerGuru.populateDocument(AnalyzerGuru.java:284) org.opensolaris.opengrok.index.IndexDatabase.addFile(IndexDatabase.java:590) org.opensolaris.opengrok.index.IndexDatabase.indexDown(IndexDatabase.java:841) org.opensolaris.opengrok.index.IndexDatabase.indexDown(IndexDatabase.java:811) org.opensolaris.opengrok.index.IndexDatabase.indexDown(IndexDatabase.java:811) org.opensolaris.opengrok.index.IndexDatabase.update(IndexDatabase.java:378) org.opensolaris.opengrok.index.IndexDatabase$1.run(IndexDatabase.java:168) java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) java.util.concurrent.FutureTask.run(FutureTask.java:262) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) java.lang.Thread.run(Thread.java:744) ``` In `populateDocument()` the history...

Thinking of this further the approach of suppressing would lead to data loss - the Lucene index needs to be generated completely with the history - so that the history...