Skip to content

IGNITE-28856 Fix ignite-extensions compilation after IGNITE-28727 and IGNITE-28819#357

Merged
anton-vinogradov merged 3 commits into
apache:masterfrom
anton-vinogradov:ignite-28856
Jul 3, 2026
Merged

IGNITE-28856 Fix ignite-extensions compilation after IGNITE-28727 and IGNITE-28819#357
anton-vinogradov merged 3 commits into
apache:masterfrom
anton-vinogradov:ignite-28856

Conversation

@anton-vinogradov

@anton-vinogradov anton-vinogradov commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

ignite-extensions master fails to compile against the current ignite 2.19.0-SNAPSHOT due to two recent core changes, plus checkstyle violations failing the CI:

  1. IGNITE-28727 added four abstract methods to IgniteInternalCache (lockTxEntry, lockTxEntries, lockTxEntryAsync, lockTxEntriesAsync). HibernateCacheProxy (hibernate-ext) does not implement them.
  2. IGNITE-28819 moved CU.affinityFieldName to BinaryUtils, breaking a method reference in KafkaToIgniteMetadataUpdaterTest (cdc-ext).
  3. JmsStreamer (jms11-ext) and StringQuery (spring-data-ext) violate the AnnotationOnSameLine checkstyle rule (@Override not on the same line with its target).

Fix: delegating implementations of the four lockTx* methods in HibernateCacheProxy (same pattern as the neighboring lock/lockAll delegates); the test switched to BinaryUtils::affinityFieldName; annotations reordered to the common codestyle.

Verified: full reactor clean test-compile BUILD SUCCESS; full reactor checkstyle:check -Pcheckstyle — 0 violations in all 65 modules.

https://issues.apache.org/jira/browse/IGNITE-28856

@anton-vinogradov

Copy link
Copy Markdown
Contributor Author

Verification run on 09b1e098 (branch HEAD), JDK 17 (corretto-17.0.11), against ignite 2.19.0-20260703.130710-239 snapshot:

mvn clean test-compile checkstyle:check -Pcheckstyle -DskipTests -T 1C
  • BUILD SUCCESS, all 66 reactor entries green, total time 35.9 s (wall clock)
  • Checkstyle: 0 violations in all 128 executions (main + test sources per module)
Reactor Summary
Reactor Summary:

ignite-apache-license-gen 1.5.0-SNAPSHOT ........... SUCCESS [  0.501 s]
ignite-parent-ext-internal 1 ....................... SUCCESS [  1.170 s]
ignite-flink-ext 1.0.0-SNAPSHOT .................... SUCCESS [  3.234 s]
ignite-flume-ext 1.0.0-SNAPSHOT .................... SUCCESS [  2.918 s]
ignite-pub-sub-ext 2.9.0-SNAPSHOT .................. SUCCESS [  3.221 s]
ignite-zeromq-ext 1.0.0-SNAPSHOT ................... SUCCESS [  2.837 s]
ignite-twitter-ext 1.0.0-SNAPSHOT .................. SUCCESS [  2.971 s]
ignite-rocketmq-ext 1.0.0-SNAPSHOT ................. SUCCESS [  2.869 s]
ignite-mqtt-ext 1.0.0-SNAPSHOT ..................... SUCCESS [  3.091 s]
ignite-storm-ext 1.0.0-SNAPSHOT .................... SUCCESS [  3.214 s]
ignite-camel-ext 1.0.0-SNAPSHOT .................... SUCCESS [  3.207 s]
ignite-jms11-ext 1.0.0-SNAPSHOT .................... SUCCESS [  3.235 s]
ignite-kafka-ext 1.0.0-SNAPSHOT .................... SUCCESS [  3.834 s]
ignite-spring-data-commons 1.2.0-SNAPSHOT .......... SUCCESS [  2.327 s]
ignite-performance-statistics-ext 1.1.0-SNAPSHOT ... SUCCESS [  3.739 s]
ignite-cdc-ext 1.0.0-SNAPSHOT ...................... SUCCESS [  5.165 s]
ignite-aws-ext 1.1.0-SNAPSHOT ...................... SUCCESS [  3.118 s]
ignite-azure-ext 1.1.0-SNAPSHOT .................... SUCCESS [  2.314 s]
ignite-gce-ext 1.1.0-SNAPSHOT ...................... SUCCESS [  1.324 s]
ignite-zookeeper-ip-finder-parent-ext 1.1.0-SNAPSHOT SUCCESS [  0.440 s]
ignite-zookeeper-ip-finder-ext 1.1.0-SNAPSHOT ...... SUCCESS [  1.486 s]
ignite-zookeeper-ip-finder-ext-examples 1.1.0-SNAPSHOT SUCCESS [  0.851 s]
ignite-topology-validator-ext 1.0.0-SNAPSHOT ....... SUCCESS [  1.523 s]
ignite-hibernate-parent-ext 5.3.0-SNAPSHOT ......... SUCCESS [  0.280 s]
ignite-hibernate-ext 5.3.0-SNAPSHOT ................ SUCCESS [  3.102 s]
ignite-hibernate-examples-ext 5.3.0-SNAPSHOT ....... SUCCESS [  1.156 s]
ignite-geospatial-parent-ext 1.0.0-SNAPSHOT ........ SUCCESS [  0.289 s]
ignite-geospatial-ext 1.0.0-SNAPSHOT ............... SUCCESS [  1.579 s]
ignite-geospatial-ext-examples 1.0.0-SNAPSHOT ...... SUCCESS [  1.554 s]
ignite-aop-ext 1.0.0-SNAPSHOT ...................... SUCCESS [  3.444 s]
ignite-spark-parent-ext 4.0.0-SNAPSHOT ............. SUCCESS [  0.650 s]
ignite-spark-ext 4.0.0-SNAPSHOT .................... SUCCESS [ 23.663 s]
ignite-spark-examples 4.0.0-SNAPSHOT ............... SUCCESS [  5.117 s]
ignite-mesos-ext 1.0.0-SNAPSHOT .................... SUCCESS [  1.481 s]
ignite-yarn-ext 1.0.0-SNAPSHOT ..................... SUCCESS [  3.086 s]
ignite-cloud-ext 1.0.0-SNAPSHOT .................... SUCCESS [  1.936 s]
ignite-osgi-parent-ext 1.0.0-SNAPSHOT .............. SUCCESS [  0.151 s]
ignite-osgi-ext 1.0.0-SNAPSHOT ..................... SUCCESS [  1.153 s]
ignite-osgi-karaf-ext 1.0.0-SNAPSHOT ............... SUCCESS [  0.215 s]
ignite-ssh-ext 1 ................................... SUCCESS [  1.474 s]
ignite-ml-parent-ext 1.1.0-SNAPSHOT ................ SUCCESS [  0.130 s]
ignite-ml-ext 1.1.0-SNAPSHOT ....................... SUCCESS [ 11.150 s]
ignite-ml-catboost-model-parser-ext 1.1.0-SNAPSHOT . SUCCESS [  0.326 s]
ignite-ml-h2o-model-parser-ext 1.1.0-SNAPSHOT ...... SUCCESS [  0.413 s]
ignite-ml-spark-model-parser-ext 1.1.0-SNAPSHOT .... SUCCESS [  1.088 s]
ignite-ml-xgboost-model-parser-ext 1.1.0-SNAPSHOT .. SUCCESS [  0.522 s]
ignite-ml-p2p-ext 1.1.0-SNAPSHOT ................... SUCCESS [  0.236 s]
ignite-ml-ext-examples 1.1.0-SNAPSHOT .............. SUCCESS [  2.003 s]
ignite-gatling-parent-ext 1.0.0-SNAPSHOT ........... SUCCESS [  0.154 s]
ignite-gatling-plugin 1.0.0-SNAPSHOT ............... SUCCESS [ 19.148 s]
ignite-gatling-plugin-examples 1.0.0-SNAPSHOT ...... SUCCESS [  2.717 s]
ignite-spring-boot-autoconfigure-parent-ext 2.1.0-SNAPSHOT SUCCESS [  0.131 s]
ignite-spring-boot-autoconfigure-ext 2.1.0-SNAPSHOT  SUCCESS [  1.027 s]
ignite-spring-boot-autoconfigure-ext-examples 2.1.0-SNAPSHOT SUCCESS [  0.847 s]
ignite-spring-boot-thin-client-autoconfigure-parent-ext 2.1.0-SNAPSHOT SUCCESS [  0.140 s]
ignite-spring-boot-thin-client-autoconfigure-ext 2.1.0-SNAPSHOT SUCCESS [  0.847 s]
ignite-spring-boot-thin-client-autoconfigure-ext-examples 2.1.0-SNAPSHOT SUCCESS [  0.689 s]
ignite-spring-session-ext 2.0.0-SNAPSHOT ........... SUCCESS [  2.195 s]
ignite-spring-cache-ext 2.0.0-SNAPSHOT ............. SUCCESS [  1.844 s]
ignite-spring-data-parent-ext 3.2.0-SNAPSHOT ....... SUCCESS [  0.158 s]
ignite-spring-data-ext 3.2.0-SNAPSHOT .............. SUCCESS [  2.319 s]
ignite-spring-data-ext-examples 3.2.0-SNAPSHOT ..... SUCCESS [  0.550 s]
ignite-spring-tx-parent-ext 2.0.0-SNAPSHOT ......... SUCCESS [  0.119 s]
ignite-spring-tx-ext 2.0.0-SNAPSHOT ................ SUCCESS [  1.336 s]
ignite-spring-tx-ext-examples 2.0.0-SNAPSHOT ....... SUCCESS [  0.625 s]
apache-ignite-extensions 1.0.0 ..................... SUCCESS [  0.500 s]
------------------------------------------------------------------------
BUILD SUCCESS

@anton-vinogradov

Copy link
Copy Markdown
Contributor Author

TeamCity RunAll for this PR: https://ci2.ignite.apache.org/buildConfiguration/IgniteExtensions_Tests_RunAllTests/9173232?buildTab=dependencies

Compared to the latest master run (build 9171512):

Suite master this PR
Hibernate ❌ compilation error
Checkstyle ❌ exit code 1
Cdc (incl. KafkaToIgniteMetadataUpdaterTest)
Jms11
Aws_2 / Rdd / Ml ❌ 4 / 11 / 18 failed ❌ same 4 / 11 / 18 failed

The remaining Aws_2/Rdd/Ml failures are identical on master and unrelated to this change.

@anton-vinogradov anton-vinogradov merged commit 33ff47c into apache:master Jul 3, 2026
@anton-vinogradov anton-vinogradov deleted the ignite-28856 branch July 3, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants