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

Enforce version upper bound for reads. Validate open array paths for TILEDB_EXPERIMENTAL #3248

Merged
merged 3 commits into from Jun 23, 2022

Conversation

bekadavis9
Copy link
Contributor

@bekadavis9 bekadavis9 commented Jun 7, 2022

Enforce version upper bound for reads. Implement validation in open array paths for TILEDB_EXPERIMENTAL.


TYPE: FEATURE
DESC: Enforce version upper bound for reads. Validate open array paths for TILEDB_EXPERIMENTAL

@bekadavis9 bekadavis9 requested a review from ihnorton June 7, 2022 15:53
@shortcut-integration
Copy link

@ihnorton ihnorton requested a review from jp-dark June 15, 2022 17:33
test/CMakeLists.txt Outdated Show resolved Hide resolved
@jp-dark
Copy link
Contributor

jp-dark commented Jun 17, 2022

This looks good to me. We will need to update the CMake so that the object libraries also get the definitions, but that can happen in a separate PR.

@ihnorton ihnorton force-pushed the rd/experimental_array_open_validation branch 2 times, most recently from 3aeaa46 to 18808b1 Compare June 22, 2022 02:19
@ihnorton ihnorton force-pushed the rd/experimental_array_open_validation branch from 18808b1 to 9bdd9b7 Compare June 22, 2022 02:46
@ihnorton ihnorton requested a review from jp-dark June 22, 2022 03:29
test/src/unit-capi-consolidation.cc Outdated Show resolved Hide resolved
tiledb/sm/storage_manager/storage_manager.cc Outdated Show resolved Hide resolved
tiledb/sm/storage_manager/storage_manager.cc Show resolved Hide resolved
tiledb/common/CMakeLists.txt Outdated Show resolved Hide resolved
tiledb/sm/storage_manager/storage_manager.cc Outdated Show resolved Hide resolved
bekadavis9 and others added 2 commits June 22, 2022 21:47
…(experimental build only)

This PR adds enforcement that the library cannot read from arrays
written by a newer version of libtiledb; and will not write to arrays
with an older format version _if_ the current build is an experimental
build.

Co-authored-by: Isaiah Norton <ihnorton@users.noreply.github.com>
@ihnorton ihnorton force-pushed the rd/experimental_array_open_validation branch from ecd1192 to 49dba75 Compare June 23, 2022 02:31
@ihnorton ihnorton requested a review from jp-dark June 23, 2022 02:32
@ihnorton ihnorton merged commit 944f089 into dev Jun 23, 2022
@ihnorton ihnorton deleted the rd/experimental_array_open_validation branch June 23, 2022 17:02
@ihnorton ihnorton changed the title Validate open array paths for TILEDB_EXPERIMENTAL Enforce version upper bound for reads. Validate open array paths for TILEDB_EXPERIMENTAL Jun 29, 2022
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.

None yet

4 participants