You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by jp...@apache.org on 2019/03/04 09:52:30 UTC
[lucene-solr] branch branch_8x updated: Add 7.7.1 version and bwc
indices.
This is an automated email from the ASF dual-hosted git repository.
jpountz pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/branch_8x by this push:
new 1c1fd08 Add 7.7.1 version and bwc indices.
1c1fd08 is described below
commit 1c1fd08a2c920ec46d7a444eedffa5f5ab50481b
Author: Adrien Grand <jp...@gmail.com>
AuthorDate: Mon Mar 4 10:42:54 2019 +0100
Add 7.7.1 version and bwc indices.
---
lucene/CHANGES.txt | 3 ++
.../lucene/index/TestBackwardsCompatibility.java | 7 +++-
.../org/apache/lucene/index/index.7.7.1-cfs.zip | Bin 0 -> 15609 bytes
.../org/apache/lucene/index/index.7.7.1-nocfs.zip | Bin 0 -> 15616 bytes
.../test/org/apache/lucene/index/sorted.7.7.1.zip | Bin 0 -> 129655 bytes
.../src/java/org/apache/lucene/util/Version.java | 7 ++++
solr/CHANGES.txt | 44 +++++++++++++++++++++
7 files changed, 59 insertions(+), 2 deletions(-)
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index 0eef5b7..88d5694 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -297,6 +297,9 @@ Optimizations
======================= Lucene 7.8.0 =======================
(No Changes)
+======================= Lucene 7.7.1 =======================
+(No Changes)
+
======================= Lucene 7.7.0 =======================
Changes in Runtime Behavior
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java b/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java
index 430d9e5..e3fd20b 100644
--- a/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java
+++ b/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java
@@ -308,7 +308,9 @@ public class TestBackwardsCompatibility extends LuceneTestCase {
"7.6.0-cfs",
"7.6.0-nocfs",
"7.7.0-cfs",
- "7.7.0-nocfs"
+ "7.7.0-nocfs",
+ "7.7.1-cfs",
+ "7.7.1-nocfs"
};
public static String[] getOldNames() {
@@ -326,7 +328,8 @@ public class TestBackwardsCompatibility extends LuceneTestCase {
"sorted.7.4.0",
"sorted.7.5.0",
"sorted.7.6.0",
- "sorted.7.7.0"
+ "sorted.7.7.0",
+ "sorted.7.7.1"
};
public static String[] getOldSortedNames() {
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.7.7.1-cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.7.7.1-cfs.zip
new file mode 100644
index 0000000..ebcb90e
Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.7.7.1-cfs.zip differ
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.7.7.1-nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.7.7.1-nocfs.zip
new file mode 100644
index 0000000..0a24b63
Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.7.7.1-nocfs.zip differ
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/sorted.7.7.1.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/sorted.7.7.1.zip
new file mode 100644
index 0000000..ba4cb3a
Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/sorted.7.7.1.zip differ
diff --git a/lucene/core/src/java/org/apache/lucene/util/Version.java b/lucene/core/src/java/org/apache/lucene/util/Version.java
index ddc0525..4b7ad3d 100644
--- a/lucene/core/src/java/org/apache/lucene/util/Version.java
+++ b/lucene/core/src/java/org/apache/lucene/util/Version.java
@@ -111,6 +111,13 @@ public final class Version {
public static final Version LUCENE_7_7_0 = new Version(7, 7, 0);
/**
+ * Match settings and bugs in Lucene's 7.7.1 release.
+ * @deprecated Use latest
+ */
+ @Deprecated
+ public static final Version LUCENE_7_7_1 = new Version(7, 7, 1);
+
+ /**
* Match settings and bugs in Lucene's 7.8.0 release.
* @deprecated Use latest
*/
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 8d9fb7f..5adc9cb 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -373,6 +373,50 @@ Other Changes
* SOLR-9515: Hadoop dependencies have been upgraded to Hadoop 3.2.0 from 2.7.2. (Mark Miller, Kevin Risden)
+================== 7.7.1 ==================
+
+Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
+
+Versions of Major Components
+---------------------
+Apache Tika 1.19.1
+Carrot2 3.16.0
+Velocity 1.7 and Velocity Tools 2.0
+Apache ZooKeeper 3.4.13
+Jetty 9.4.14.v20181114
+
+Upgrade Notes
+----------------------
+
+ * SOLR-13248: The default replica placement strategy used in Solr has been reverted to the 'legacy' policy used by Solr
+ 7.4 and previous versions. This is due to multiple bugs in the autoscaling based replica placement strategy that was
+ made default in Solr 7.5 which causes multiple replicas of the same shard to be placed on the same node in addition
+ to the maxShardsPerNode and createNodeSet parameters being ignored. Although the default has changed, autoscaling
+ will continue to be used if a cluster policy or preference is specified or a collection level policy is in use.
+ The default replica placement strategy can be changed to use autoscaling again by setting a cluster property:
+ curl -X POST -H 'Content-type:application/json' --data-binary '
+ {
+ "set-obj-property": {
+ "defaults" : {
+ "cluster": {
+ "useLegacyReplicaAssignment":false
+ }
+ }
+ }
+ }' http://$SOLR_HOST:$SOLR_PORT/api/cluster
+
+Bug Fixes
+----------------------
+
+* SOLR-13255 : ClasscastException when URPs try to read a String field which returns a ByteArrayUTF8CHarSequence . This is a regression
+ in release 7.7 (noble)
+
+* SOLR-13248: Autoscaling based replica placement is broken out of the box. Solr 7.5 enabled autoscaling based replica
+ placement by default but in the absence of default cluster policies, autoscaling can place more than 1 replica of the
+ same shard on the same node. Also, the maxShardsPerNode and createNodeSet was not respected. Due to these reasons,
+ this issue reverts the default replica placement policy to the 'legacy' assignment policy that was the default until
+ Solr 7.4. (Gus Heck, Andrzej Bialecki, Bram Van Dam, shalin)
+
================== 7.7.0 ==================
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.