Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opt cds syncer log #519

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion dtable_events/common_dataset/common_dataset_syncer.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,12 @@ def check_common_dataset(session_class):
continue
else:
if result.get('error_msg'):
logging.error(result['error_msg'])
if result.get('error_type') == 'generate_synced_columns_error':
logging.warning('src_dtable_uuid: %s src_table_id: %s src_view_id: %s dst_dtable_uuid: %s dst_table_id: %s generate sync-columns error: %s',
src_dtable_uuid, src_table_id, src_view_id, dst_dtable_uuid, dst_table_id, result)
else:
logging.error('src_dtable_uuid: %s src_table_id: %s src_view_id: %s dst_dtable_uuid: %s dst_table_id: %s error: %s',
src_dtable_uuid, src_table_id, src_view_id, dst_dtable_uuid, dst_table_id, result)
continue
sql = '''
UPDATE dtable_common_dataset_sync SET last_sync_time=:last_sync_time, src_version=:src_version
Expand Down