Commit a15e6f4
committed
SOLR-17413: ulog replay should copy SolrQueryRequest (#2765)
SolrQueryRequest is a non-threadsafe type, but was being shared across
executor threads during UpdateLog replay. This introduces a number of
issues, not the least being a ConcurrentModificationException if
multiple threads happen to tweak the request 'context' simultaneously.
This commit fixes this issue by giving each executor thread a unique
LocalSolrQueryRequest instance to use.1 parent f4150f7 commit a15e6f4
File tree
2 files changed
+16
-5
lines changed- solr
- core/src/java/org/apache/solr/update
2 files changed
+16
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| |||
1998 | 1999 | | |
1999 | 2000 | | |
2000 | 2001 | | |
| 2002 | + | |
| 2003 | + | |
| 2004 | + | |
| 2005 | + | |
| 2006 | + | |
| 2007 | + | |
| 2008 | + | |
| 2009 | + | |
2001 | 2010 | | |
2002 | 2011 | | |
2003 | 2012 | | |
| |||
2024 | 2033 | | |
2025 | 2034 | | |
2026 | 2035 | | |
2027 | | - | |
2028 | | - | |
2029 | | - | |
2030 | | - | |
| 2036 | + | |
2031 | 2037 | | |
2032 | 2038 | | |
2033 | 2039 | | |
| |||
2100 | 2106 | | |
2101 | 2107 | | |
2102 | 2108 | | |
2103 | | - | |
| 2109 | + | |
| 2110 | + | |
| 2111 | + | |
| 2112 | + | |
2104 | 2113 | | |
2105 | 2114 | | |
2106 | 2115 | | |
| |||
0 commit comments