Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-3884

smoke tester on cygwin fails when testing example due to tlog recovery

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0, 4.1, 6.0
    • None
    • None

    Description

      while testing out 4.0-rc0, sarowe noted the he was seeing the smoke tester script fail while sanity checking the solr example.

      https://mail-archives.apache.org/mod_mbox/lucene-dev/201209.mbox/%3C6C78E97C707B5B4C8CC61D44F87545863ED73E@SUEX10-mbx-03.ad.syr.edu%3E

      The crux of the issue seems to be...

      • the same directory is reused for testing the example in java6 and then java7
      • in some versions of cygwin, SIGINT does not do a clean shutdown of jetty+solr (with jvm close hooks that would do a hard commit)
      • when solr is shutdown uncleanly (the java6 run), the tlog is used on startup of the next (java7) run.
      • tlog recovery concurrent with rapid updates on startup can be problematic, commits may be ignored.

      The underlying questions about dealing with tlog recovery and concurrent updates from external clients have been spun off into SOLR-3888. this issue is focusing on changes that should be considered for the smoke tester.

      Attachments

        1. solr-example.log
          26 kB
          Mark Miller
        2. java6.solr-example.log
          30 kB
          Steven Rowe
        3. java7.solr-example.log
          29 kB
          Steven Rowe

        Issue Links

          Activity

            People

              sarowe Steven Rowe
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: