Testing Lucene & Solr with various JVMs (...)
summary
Describes how Lucene/Solr integrate multiple JVMs and JDK options into Jenkins and run a randomized test suite 24/7 on sponsored external servers to catch JVM bugs early. Shows the concrete failure: a HotSpot loop-optimization in Java 7 compiles code that corrupts indexes, forcing avoidance of specific builds and optimization flags. Uses Lucene's extended JUnit harness with repeatable RNGs to reproduce failures and lists exact JVM/platform combinations that produced corrupt indexes and other bugs in regex, BreakIterator and locales.
AI-written summary · about
chapters (12)
- 0:00Introduction and background
- 2:02Java 7 bug with corrupted indexes
- 8:10Investigating and reporting the bug
- 12:51Root cause of the segmentation fault
- 19:28Quick fixes and workarounds
- 22:38Testing Java 7 before release
- 26:16Testing across different JVMs
- 31:35Automating tests with Jenkins
- 33:01Bugs found in different JVMs
- 39:27Corruption risks with Java 6 and 7
- 42:07Compatibility and version guidance
- 43:42Conclusion and Q&A
