You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Yifan Cai (Jira)" <ji...@apache.org> on 2020/08/24 19:47:00 UTC
[jira] [Commented] (CASSANDRA-16065) Distinguish partition errors
published by Cassandra-Diff between source and target
[ https://issues.apache.org/jira/browse/CASSANDRA-16065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17183571#comment-17183571 ]
Yifan Cai commented on CASSANDRA-16065:
---------------------------------------
PR: [https://github.com/apache/cassandra-diff/pull/11]
Code: [https://github.com/yifan-c/cassandra-diff/tree/distinguish-partition-error]
There are multiple call sites that client sends requests to the compared clusters and may get exceptions. An exception wrapper, {{ClusterSourcedException}} is introduced in order to distinguish the error source cluster. The call sites that may throw exceptions are handled and wraps with {{ClusterSourcedException}}.
A new column, "{{error_source varchar}}", is added to the "partition_errors" table to store the error source.
> Distinguish partition errors published by Cassandra-Diff between source and target
> ----------------------------------------------------------------------------------
>
> Key: CASSANDRA-16065
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16065
> Project: Cassandra
> Issue Type: Improvement
> Components: Tool/diff
> Reporter: Yifan Cai
> Assignee: Yifan Cai
> Priority: Normal
>
> The partition errors found during diff are persisted without the error origin information.
> Therefore, I am proposing to add an error origin indicator, (e.g. 0 for source and 1 for target) when persisting the partition error details.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org