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

fix: format context #5022

Merged
merged 2 commits into from
Aug 17, 2023
Merged

fix: format context #5022

merged 2 commits into from
Aug 17, 2023

Conversation

koivunej
Copy link
Member

We return an error with unformatted {timeline_id}.

@koivunej koivunej requested review from a team as code owners August 17, 2023 12:59
@koivunej koivunej requested review from save-buffer and skyzh and removed request for a team August 17, 2023 12:59
@koivunej koivunej changed the title refactor: format context fix: format context Aug 17, 2023
@koivunej koivunej requested review from problame and LizardWizzard and removed request for save-buffer and skyzh August 17, 2023 12:59
@koivunej koivunej enabled auto-merge (squash) August 17, 2023 13:00
@github-actions
Copy link

github-actions bot commented Aug 17, 2023

1608 tests run: 1531 passed, 0 failed, 77 skipped (full report)


Flaky tests (2)

Postgres 15

  • test_timeline_delete_fail_before_local_delete: debug

Postgres 14

  • test_empty_branch_remote_storage_upload_on_restart[local_fs]: debug
The comment gets automatically updated with the latest test results
7d2f9ea at 2023-08-17T14:35:47.437Z :recycle:

Copy link
Contributor

@LizardWizzard LizardWizzard left a comment

Choose a reason for hiding this comment

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

Thanks!

@koivunej
Copy link
Member Author

koivunej commented Aug 17, 2023

1608 tests run: 1529 passed, 2 failed, 77 skipped (full report)

Failures on Posgres 15

  • test_timeline_delete_fail_before_local_delete: debug

Failures on Posgres 14

  • test_empty_branch_remote_storage_upload_on_restart[local_fs]: debug

Well, these are some weird failures.

@koivunej koivunej merged commit 6af5f9b into main Aug 17, 2023
@koivunej koivunej deleted the missing_with_context branch August 17, 2023 14:30
koivunej added a commit that referenced this pull request Oct 26, 2023
…#4938)

Implement a new `struct Layer` abstraction which manages downloadness
internally, requiring no LayerMap locking or rewriting to download or
evict providing a property "you have a layer, you can read it". The new
`struct Layer` provides ability to keep the file resident via a RAII
structure for new layers which still need to be uploaded. Previous
solution solved this `RemoteTimelineClient::wait_completion` which lead
to bugs like #5639. Evicting or the final local deletion after garbage
collection is done using Arc'd value `Drop`.

With a single `struct Layer` the closed open ended `trait Layer`, `trait
PersistentLayer` and `struct RemoteLayer` are removed following noting
that compaction could be simplified by simply not using any of the
traits in between: #4839.

The new `struct Layer` is a preliminary to remove
`Timeline::layer_removal_cs` documented in #4745.

Preliminaries: #4936, #4937, #5013, #5014, #5022, #5033, #5044, #5058,
#5059, #5061, #5074, #5103, epic #5172, #5645, #5649. Related split off:
#5057, #5134.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants