You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e93fc2a
Browse filesBrowse the repository at this point in the historyBrowse files
MLE-26918 Added FilterException to identify filter-related errors
Important for the batch retrier in the Spark connector so it doesn't retry a batch when the filter fails.
Improved the code for closing handles as well in BatchWriter.
Copy file name to clipboardExpand all lines: marklogic-client-api/src/main/java/com/marklogic/client/datamovement/filter/IncrementalWriteOpticFilter.java
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,10 @@ public DocumentWriteSet apply(Context context) {
53
53
}
54
54
);
55
55
56
+
if (logger.isDebugEnabled()) {
57
+
logger.debug("Retrieved {} existing hashes for batch of size {}", existingHashes.size(), uris.length);
58
+
}
59
+
56
60
returnfilterDocuments(context, uri -> existingHashes.get(uri));
57
61
} catch (FailedRequestExceptione) {
58
62
Stringmessage = "Unable to query for existing incremental write hashes; cause: " + e.getMessage();
Copy file name to clipboardExpand all lines: marklogic-client-api/src/main/java/com/marklogic/client/datamovement/filter/IncrementalWriteViewFilter.java
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,10 @@ public DocumentWriteSet apply(Context context) {
48
48
}
49
49
);
50
50
51
+
if (logger.isDebugEnabled()) {
52
+
logger.debug("Retrieved {} existing hashes for batch of size {}", existingHashes.size(), uris.length);
53
+
}
54
+
51
55
returnfilterDocuments(context, uri -> existingHashes.get(uri));
52
56
} catch (FailedRequestExceptione) {
53
57
Stringmessage = "Unable to query for existing incremental write hashes from view " + getConfig().getSchemaName() + "." + getConfig().getViewName() + "; cause: " + e.getMessage();
0 commit comments