You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2020/04/23 10:25:17 UTC
[GitHub] [lucene-solr] s1monw opened a new pull request #1451: LUCENE-9345: Separate MergeSchedulder from IndexWriter
s1monw opened a new pull request #1451:
URL: https://github.com/apache/lucene-solr/pull/1451
This change extracts the methods that are used by MergeScheduler into
a MergeSource interface. This allows IndexWriter to better ensure
locking, hide internal methods and removes the tight coupling between the two
complex classes. This will also improve future testing.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
[GitHub] [lucene-solr] jpountz commented on a change in pull request #1451: LUCENE-9345: Separate MergeSchedulder from IndexWriter
Posted by GitBox <gi...@apache.org>.
jpountz commented on a change in pull request #1451:
URL: https://github.com/apache/lucene-solr/pull/1451#discussion_r413791931
##########
File path: lucene/core/src/java/org/apache/lucene/index/ConcurrentMergeScheduler.java
##########
@@ -516,18 +519,18 @@ public synchronized void merge(IndexWriter writer, MergeTrigger trigger) throws
if (verbose()) {
message("now merge");
- message(" index: " + writer.segString());
+ message(" index(source): " + mergeSource.toString());
Review comment:
did you mean to add `(source)` after `index` or is it a side-effect of a search/replace?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
[GitHub] [lucene-solr] s1monw commented on issue #1451: LUCENE-9345: Separate MergeSchedulder from IndexWriter
Posted by GitBox <gi...@apache.org>.
s1monw commented on issue #1451:
URL: https://github.com/apache/lucene-solr/pull/1451#issuecomment-618546044
Thanks @jpountz - I was wondering if we should break this API in 8.6 already. it's very expert IMO. /cc @mikemccand
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
[GitHub] [lucene-solr] s1monw commented on a change in pull request #1451: LUCENE-9345: Separate MergeSchedulder from IndexWriter
Posted by GitBox <gi...@apache.org>.
s1monw commented on a change in pull request #1451:
URL: https://github.com/apache/lucene-solr/pull/1451#discussion_r413998721
##########
File path: lucene/core/src/java/org/apache/lucene/index/ConcurrentMergeScheduler.java
##########
@@ -516,18 +519,18 @@ public synchronized void merge(IndexWriter writer, MergeTrigger trigger) throws
if (verbose()) {
message("now merge");
- message(" index: " + writer.segString());
+ message(" index(source): " + mergeSource.toString());
Review comment:
I added it on purpose.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org