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

Sequester realm export (memory only implementation) #9342

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

touilleMan
Copy link
Member

@touilleMan touilleMan commented Jan 14, 2025

depends on #6644

@touilleMan touilleMan requested review from a team as code owners January 14, 2025 11:21
@touilleMan touilleMan force-pushed the sequester-export-memory-only branch 2 times, most recently from ec6ceb2 to e5ea163 Compare January 14, 2025 16:09
@touilleMan touilleMan changed the base branch from master to sequester-with-key-rotation January 14, 2025 16:26
Base automatically changed from sequester-with-key-rotation to master January 14, 2025 16:37
@touilleMan touilleMan force-pushed the sequester-export-memory-only branch from e5ea163 to 7d741e5 Compare January 14, 2025 20:51
# indexes (e.g. when a transaction is rolled back).
# This should be enough to detect typical improper use of the primary key as
# a list offset.
return enumerate(all_vlob_atoms, start=200)
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a specific reason to start at 200 here and at 100 in simulate_postgresql_block_table above ?

Copy link
Member Author

Choose a reason for hiding this comment

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

The start value is totally arbitrary since its goal is only to detect typical improper use of the primary key as a list offset.

Having different arbitrary offsets is convenient to help debugging since it makes values more unique.

assert response.status_code == 404, response.content


# async def test_ok(
Copy link
Contributor

Choose a reason for hiding this comment

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

Todo ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good catch !

I've added tests to sequester administration APIs

Copy link
Contributor

Choose a reason for hiding this comment

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

Is this file needed ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, this is the python way of declaring the sequester_export folder is a module

@touilleMan touilleMan force-pushed the sequester-export-memory-only branch from 8479d36 to 519499b Compare January 21, 2025 19:33
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.

2 participants