Skip to content
This repository has been archived by the owner on Aug 25, 2023. It is now read-only.

Yacht 1104 #98

Merged
merged 7 commits into from
Dec 4, 2018
Merged

Yacht 1104 #98

merged 7 commits into from
Dec 4, 2018

Conversation

marek-tabor
Copy link
Contributor

No description provided.

Additional handler for those tasks.
Added new sli-table-quality-violations queue to config file.
Additional handler for those tasks.
Added new sli-table-quality-violations queue to config file.
Rewrited tests. Changed a bit logic to stream snapshot_time always after sli_recalculation, even for no tables from query.
@marek-tabor marek-tabor requested a review from a team November 29, 2018 14:16
@coveralls
Copy link

coveralls commented Nov 29, 2018

Pull Request Test Coverage Report for Build 918

  • 88 of 110 (80.0%) changed or added relevant lines in 10 files are covered.
  • 6 unchanged lines in 5 files lost coverage.
  • Overall coverage decreased (-0.3%) to 83.126%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/slo/backup_creation_latency/latency_violation_sli_service.py 26 27 96.3%
src/slo/backup_quality/quality_violation_sli_handler.py 0 10 0.0%
src/slo/backup_creation_latency/latency_violation_sli_handler.py 0 11 0.0%
Files with Coverage Reduction New Missed Lines %
src/restore/table/table_restore_handler.py 1 97.3%
src/restore/dataset/dataset_restore_handler.py 1 96.67%
src/slo/backup_quality/quality_sli_handler.py 1 0.0%
src/restore/list/backup_list_restore_handler.py 1 98.33%
src/restore/dataset/dataset_restore_service.py 2 92.86%
Totals Coverage Status
Change from base Build 894: -0.3%
Covered Lines: 2537
Relevant Lines: 3052

💛 - Coveralls

filtered_tables,
snapshot_marker=self.__create_snapshot_marker_row(snapshot_time)
)
self.streamer.stream([], snapshot_marker=self.__create_snapshot_marker_row(snapshot_time))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should change somehow streamer method. It doesn't need an empty array. Same with SliLatencyService.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

self.streamer.stream([], snapshot_marker=self.__create_snapshot_marker_row(snapshot_time))
logging.info("Snapshot marker sent %s", snapshot_time)

def check_and_stream_violation(self, json_data):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would pass a table json instead of wrapper

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@przemyslaw-jasinski przemyslaw-jasinski merged commit 0e415b7 into master Dec 4, 2018
@przemyslaw-jasinski przemyslaw-jasinski deleted the YACHT-1104 branch December 4, 2018 13:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants