Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ISPN-9569 Indexing is not working for clustered caches if it is trans…
…actional * TransactionalIndexingTest highlights the issue * remove ProtobufValueWrapperInterceptor; its role is now taken by ProtobufValueWrapperSearchWorkCreator * move ProtobufValueWrapperAnalyzerDiscriminator and ProtobufValueWrapperIndexingInterceptor to org.infinispan.query.remote.impl.indexing package
- Loading branch information
Showing
13 changed files
with
181 additions
and
177 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
...od-client/src/test/java/org/infinispan/client/hotrod/query/TransactionalIndexingTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,15 @@ | |||
package org.infinispan.client.hotrod.query; | |||
|
|||
import org.testng.annotations.Test; | |||
|
|||
/** | |||
* @since 9.4 | |||
*/ | |||
@Test(testName = "client.hotrod.query.TransactionalIndexingTest", groups = "functional") | |||
public class TransactionalIndexingTest extends MultiHotRodServerQueryTest { | |||
|
|||
@Override | |||
protected boolean useTransactions() { | |||
return true; | |||
} | |||
} |
4 changes: 4 additions & 0 deletions
4
query/src/main/java/org/infinispan/query/backend/ExtendedSearchWorkCreator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,10 +1,14 @@ | |||
package org.infinispan.query.backend; | package org.infinispan.query.backend; | ||
|
|
||
//todo [anistor] this class will be removed in Infinispan 10 | |||
|
|||
/** | /** | ||
* Add extra methods. | * Add extra methods. | ||
* | * | ||
* @author Ales Justin | * @author Ales Justin | ||
* @deprecated without replacement | |||
*/ | */ | ||
@Deprecated | |||
public interface ExtendedSearchWorkCreator extends SearchWorkCreator { | public interface ExtendedSearchWorkCreator extends SearchWorkCreator { | ||
boolean shouldRemove(SearchWorkCreatorContext context); | boolean shouldRemove(SearchWorkCreatorContext context); | ||
} | } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
query/src/main/java/org/infinispan/query/backend/SearchWorkCreatorContext.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...tobufValueWrapperIndexingInterceptor.java → ...tobufValueWrapperIndexingInterceptor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.