nizhikov commented on a change in pull request #98:
URL: https://github.com/apache/ignite-extensions/pull/98#discussion_r791780709
##########
File path:
modules/cdc-ext/src/main/java/org/apache/ignite/cdc/conflictresolve/CacheConflictResolutionManagerImpl.java
##########
@@ -38,22 +39,42 @@
*/
private final String conflictResolveField;
+ /** CLuster Id. */
+ private final byte clusterId;
+
/** Grid cache context. */
private GridCacheContext<K, V> cctx;
/**
* @param conflictResolveField Field to resolve conflicts.
*/
- public CacheConflictResolutionManagerImpl(String conflictResolveField) {
+ public CacheConflictResolutionManagerImpl(String conflictResolveField,
byte clusterId) {
this.conflictResolveField = conflictResolveField;
+ this.clusterId = clusterId;
}
/** {@inheritDoc} */
@Override public CacheVersionConflictResolver conflictResolver() {
+ cctx.logger(this.getClass()).info("Conflict resolver created [" +
+ "cache=" + cctx.name() +
+ ", clusterId=" + clusterId +
+ ", conflictResolveField=" + conflictResolveField + ']'
+ );
+
+ IgniteLogger log = cctx.logger(CacheVersionConflictResolverImpl.class);
Review comment:
Fixed.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]