Skip to content

Commit 6a2f661

Browse files
authored
Merge branch 'dev' into yt/sc-48774/fragment_list_consolidation
2 parents 4e092ea + 3bb0699 commit 6a2f661

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+1924
-129
lines changed

.github/workflows/build-windows.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ jobs:
6161
TILEDB_WEBP: ${{ matrix.TILEDB_WEBP }}
6262
TILEDB_CMAKE_BUILD_TYPE: 'Release'
6363
VCPKG_BINARY_SOURCES: 'clear;x-gha,readwrite'
64+
CXXFLAGS: '/D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR' # https://github.com/actions/runner-images/issues/10004
6465
steps:
6566
- name: 'tiledb env prep'
6667
run: |

.github/workflows/unit-test-runs.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ jobs:
1010
runs-on: ${{ matrix.os }}
1111
strategy:
1212
matrix:
13-
os: [macos-latest, ubuntu-latest, windows-latest]
13+
# Temporarily reverting to windows-2019 until https://github.com/actions/runner-images/issues/10004 gets fixed.
14+
os: [macos-latest, ubuntu-latest, windows-2019]
1415
fail-fast: false
1516
name: Build - ${{ matrix.os }}
1617
timeout-minutes: 90
@@ -53,6 +54,11 @@ jobs:
5354
shell: bash
5455
if: ${{ !startsWith(matrix.os, 'windows-') }}
5556

57+
- name: 'Print env'
58+
run: set
59+
shell: cmd
60+
if: ${{ startsWith(matrix.os, 'windows-') }}
61+
5662
- name: 'Build standalone unit tests'
5763
run: |
5864
cmake -S . \

format_spec/FORMAT_SPEC.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Format Specification
44

55
**Notes:**
66

7-
* The current TileDB format version number is **21** (`uint32_t`).
7+
* The current TileDB format version number is **22** (`uint32_t`).
88
* Data written by TileDB and referenced in this document is **little-endian**
99
with the following exceptions:
1010

format_spec/array_schema.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ The array schema file consists of a single [generic tile](./generic_tile.md), wi
5454
| Label 1 | [Dimension Label](#dimension_label) | First dimension label |
5555
||||
5656
| Label N | [Dimension Label](#dimension_label) | Nth dimension label |
57+
| CurrentDomain | [CurrentDomain](./current_domain.md) | The array current domain |
5758

5859
## Domain
5960

format_spec/current_domain.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: Current Domain
3+
---
4+
5+
## Main Structure
6+
7+
The array current domain is stored within the [Array Schema](./array_schema.md#array-schema-file)
8+
file. If a current domain is empty, only the version number and the empty flag are serialized to storage.
9+
10+
| **Field** | **Type** | **Description** |
11+
| :--- | :--- | :--- |
12+
| Version number | `uint32_t` | Current domain version number |
13+
| Empty | `uint8_t` | Whether the current domain has a representation(e.g. NDRectangle) set or not |
14+
| Type | `uint8_t` | The type of current domain stored in this file |
15+
| NDRectangle | [MBR](./fragment.md#mbr) | A hyperrectangle defined using [1DRange](./fragment.md#mbr) items for each dimension |

ports/triplets/x64-windows-asan.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@ set(X_VCPKG_APPLOCAL_DEPS_INSTALL ON)
77
# bigobj is needed for capnp.
88
set(VCPKG_C_FLAGS "/fsanitize=address /bigobj")
99
set(VCPKG_CXX_FLAGS "/fsanitize=address /bigobj")
10+
11+
# https://github.com/actions/runner-images/issues/10004
12+
set(VCPKG_C_FLAGS "${VCPKG_C_FLAGS} /D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR")
13+
set(VCPKG_CXX_FLAGS "${VCPKG_CXX_FLAGS} /D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR")

ports/triplets/x64-windows.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,8 @@ set(VCPKG_TARGET_ARCHITECTURE x64)
22
set(VCPKG_CRT_LINKAGE dynamic)
33
set(VCPKG_LIBRARY_LINKAGE static)
44

5+
# https://github.com/actions/runner-images/issues/10004
6+
set(VCPKG_C_FLAGS "/D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR")
7+
set(VCPKG_CXX_FLAGS "/D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR")
8+
59
set(X_VCPKG_APPLOCAL_DEPS_INSTALL ON)

test/src/unit-capi-array_schema.cc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,11 @@ void ArraySchemaFx::load_and_check_array_schema(const std::string& path) {
921921
"- Cell val num: " + CELL_VAL_NUM_STR + "\n" + "- Filters: 2\n" +
922922
" > BZIP2: COMPRESSION_LEVEL=5\n" +
923923
" > BitWidthReduction: BIT_WIDTH_MAX_WINDOW=1000\n" +
924-
"- Fill value: " + FILL_VALUE_STR + "\n";
924+
"- Fill value: " + FILL_VALUE_STR + "\n" + "### Current domain ###\n" +
925+
"- Version: " +
926+
std::to_string(tiledb::sm::constants::current_domain_version) + "\n" +
927+
"- Empty: 1" + "\n";
928+
925929
FILE* gold_fout = fopen("gold_fout.txt", "w");
926930
const char* dump = dump_str.c_str();
927931
fwrite(dump, sizeof(char), strlen(dump), gold_fout);

test/src/unit-s3.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
#include <test/support/tdb_catch.h>
3636
#include "test/support/src/helpers.h"
3737
#include "test/support/src/vfs_helpers.h"
38-
#include "tiledb/common/thread_pool.h"
38+
#include "tiledb/common/thread_pool/thread_pool.h"
3939
#include "tiledb/sm/config/config.h"
4040
#include "tiledb/sm/filesystem/s3.h"
4141
#include "tiledb/sm/global_state/unit_test_config.h"

test/src/unit-sparse-unordered-with-dups-reader.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ TEST_CASE_METHOD(
10021002
write_1d_fragment(coords4.data(), &coords4_size, data4.data(), &data4_size);
10031003
}
10041004

1005-
total_budget_ = "3000000";
1005+
total_budget_ = "3300000";
10061006
ratio_array_data_ = "0.002";
10071007
partial_tile_offsets_loading_ =
10081008
enable_partial_tile_offsets_loading ? "true" : "false";

0 commit comments

Comments
 (0)