Skip to content

ci: replace directory system log tables artifacts with tsv#35773

Merged
tavplubix merged 1 commit intoClickHouse:masterfrom
azat:stateless-tests-artifacts
Mar 31, 2022
Merged

ci: replace directory system log tables artifacts with tsv#35773
tavplubix merged 1 commit intoClickHouse:masterfrom
azat:stateless-tests-artifacts

Conversation

@azat
Copy link
Member

@azat azat commented Mar 30, 2022

Changelog:

  • remove query_thread_log (query_log should be enough)
  • for s3 storage there /var/lib/clickhouse/data/system/*_log cannot be
    used, replace them with plain TSVWithNamesAndTypes, also note, that
    after schema inference it is even pretty easy to use
  • support replicated database env correctly

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

@robot-ch-test-poll robot-ch-test-poll added the pr-not-for-changelog This PR should not be mentioned in the changelog label Mar 30, 2022
@azat
Copy link
Member Author

azat commented Mar 30, 2022

for s3 storage there /var/lib/clickhouse/data/system/*_log cannot be
used, replace them with plain TSVWithNamesAndTypes, also note, that
after schema inference it is even pretty easy to use

Here is an example 1:

tar: /var/lib/clickhouse/data/system/text_log: Cannot stat: No such file or directory

@tavplubix tavplubix self-assigned this Mar 30, 2022
@azat azat force-pushed the stateless-tests-artifacts branch from af3119a to 1483e96 Compare March 30, 2022 18:33
Changelog:
- remove query_thread_log (query_log should be enough)
- for s3 storage there /var/lib/clickhouse/data/system/*_log cannot be
  used, replace them with plain TSVWithNamesAndTypes, also note, that
  after schema inference it is even pretty easy to use
- support replicated database env correctly

Co-authored-by: tavplubix <[email protected]>
Signed-off-by: Azat Khuzhin <[email protected]>
@azat azat force-pushed the stateless-tests-artifacts branch from 1483e96 to 8b84829 Compare March 30, 2022 18:51
@azat
Copy link
Member Author

azat commented Mar 31, 2022

Artifacts looks good (checked zookeeper_log fo s3 storage, databasereplicated and regular)

@tavplubix tavplubix merged commit 5680f53 into ClickHouse:master Mar 31, 2022
@azat azat deleted the stateless-tests-artifacts branch March 31, 2022 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants