Skip to content

libroach: Obey read-only option in FileRegistry and DataKeyManager.#26468

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
mberhault:marc/readonly_libroach
Jun 6, 2018
Merged

libroach: Obey read-only option in FileRegistry and DataKeyManager.#26468
craig[bot] merged 1 commit intocockroachdb:masterfrom
mberhault:marc/readonly_libroach

Conversation

@mberhault
Copy link
Copy Markdown
Contributor

These two classes handle the File and Key registries persisted to local
disk. When the read-only option is set on the DB, it's important we not
modify on-disk state or we risk corrupting data for a running node.

Release Note: none

@mberhault mberhault requested review from a team and bdarnell June 6, 2018 16:47
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@mberhault mberhault mentioned this pull request Jun 6, 2018
29 tasks
These two classes handle the File and Key registries persisted to local
disk. When the read-only option is set on the DB, it's important we not
modify on-disk state or we risk corrupting data for a running node.
@mberhault mberhault force-pushed the marc/readonly_libroach branch from 41b166b to 3c149f0 Compare June 6, 2018 17:02
@bdarnell
Copy link
Copy Markdown
Contributor

bdarnell commented Jun 6, 2018

:lgtm:


Review status: 0 of 12 files reviewed at latest revision, all discussions resolved, all commit checks successful.


Comments from Reviewable

@mberhault
Copy link
Copy Markdown
Contributor Author

bors r+

craig bot pushed a commit that referenced this pull request Jun 6, 2018
26468: libroach: Obey read-only option in FileRegistry and DataKeyManager. r=mberhault a=mberhault

These two classes handle the File and Key registries persisted to local
disk. When the read-only option is set on the DB, it's important we not
modify on-disk state or we risk corrupting data for a running node.

Release Note: none

Co-authored-by: marc <marc@cockroachlabs.com>
@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jun 6, 2018

Build succeeded

@craig craig bot merged commit 3c149f0 into cockroachdb:master Jun 6, 2018
@mberhault mberhault deleted the marc/readonly_libroach branch June 6, 2018 18:24
@mberhault mberhault restored the marc/readonly_libroach branch June 6, 2018 18:24
@mberhault mberhault deleted the marc/readonly_libroach branch June 6, 2018 18:24
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