Skip to content

Atomic metadata.#11745

Merged
alexey-milovidov merged 70 commits intomasterfrom
atomic_metadata5
Jun 23, 2020
Merged

Atomic metadata.#11745
alexey-milovidov merged 70 commits intomasterfrom
atomic_metadata5

Conversation

@alesapin
Copy link
Copy Markdown
Member

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category (leave one):

  • Improvement

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Multiversion metadata for storages without structure locks.

alesapin added 30 commits June 15, 2020 19:55
@alesapin
Copy link
Copy Markdown
Member Author

alesapin commented Jun 19, 2020

TODO:

  • 1. Add a test with ALTER during long select. (We are absolutely non blocking now)
  • 2. Add comments.
  • 3. Realize what's wrong with 01213_alter_rename_column_zookeeper

@alesapin
Copy link
Copy Markdown
Member Author

Stress test (memory) — Killed by signal (in clickhouse-server.log)
FunctionExtractAllGroups in CI fest.

@alesapin alesapin marked this pull request as ready for review June 22, 2020 09:49
@alesapin alesapin changed the title [WIP] Atomic metadata. Atomic metadata. Jun 22, 2020
@alesapin
Copy link
Copy Markdown
Member Author

alesapin commented Jun 22, 2020

  • Fix clang-tidy.

@alexey-milovidov alexey-milovidov self-assigned this Jun 22, 2020
@alesapin
Copy link
Copy Markdown
Member Author

@alesapin
Copy link
Copy Markdown
Member Author

@alesapin
Copy link
Copy Markdown
Member Author

alesapin commented Jun 23, 2020

020-06-23 12:29:41 00953_moving_functions:                                                 [ FAIL ] 0.15 sec. - result differs with reference:
2020-06-23 12:29:41 --- /usr/share/clickhouse-test/queries/0_stateless/00953_moving_functions.reference	2020-06-23 11:24:32.000000000 +0300
2020-06-23 12:29:41 +++ /tmp/clickhouse-test/0_stateless/00953_moving_functions.stdout	2020-06-23 12:29:41.321314019 +0300
2020-06-23 12:29:41 @@ -37,4 +37,4 @@
2020-06-23 12:29:41  k	groupArrayMovingSum(v)
2020-06-23 12:29:41  String	Array(UInt64)
2020-06-23 12:29:41  a	[0,1,3,6,10]
2020-06-23 12:29:41 -b	[0,1,3,6,10,15,21,28,36,45]
2020-06-23 12:29:41 +b	[5,11,18,26,35,35,36,38,41,45]

Flap?

@alesapin
Copy link
Copy Markdown
Member Author

020-06-23 12:29:41 00953_moving_functions:                                                 [ FAIL ] 0.15 sec. - result differs with reference:
2020-06-23 12:29:41 --- /usr/share/clickhouse-test/queries/0_stateless/00953_moving_functions.reference	2020-06-23 11:24:32.000000000 +0300
2020-06-23 12:29:41 +++ /tmp/clickhouse-test/0_stateless/00953_moving_functions.stdout	2020-06-23 12:29:41.321314019 +0300
2020-06-23 12:29:41 @@ -37,4 +37,4 @@
2020-06-23 12:29:41  k	groupArrayMovingSum(v)
2020-06-23 12:29:41  String	Array(UInt64)
2020-06-23 12:29:41  a	[0,1,3,6,10]
2020-06-23 12:29:41 -b	[0,1,3,6,10,15,21,28,36,45]
2020-06-23 12:29:41 +b	[5,11,18,26,35,35,36,38,41,45]

Flap?

Flap

if (columns_mask[src_index++])
{
assert(table != nullptr);
assert(metadata_snapshot != nullptr);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Very small inconsistency...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-improvement Pull request with some product improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants