diff --git a/README.md b/README.md index 01825e025d368f9958d7bcd5e97657eec716aac5..dd6ceaa92237f03acfa7e6af5a941408d115b854 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ You will need to have both snakehouse and satella installed. * more error conditions during mmap will be supported as well * ENOMEM will be correctly handled during resize operation +* added `TimeSeries.descriptor_based_access` ## v0.4.3 diff --git a/setup.py b/setup.py index 5c0e74d8482be0b685c86f37cccddf537f810892..f1b34b39bd0e9bc02e4dfbb7ec767ba91100f2e1 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ if 'CI' in os.environ: setup(name='tempsdb', - version='0.4.4a3', + version='0.4.4a4', packages=['tempsdb'], install_requires=['satella>=2.14.23', 'ujson'], ext_modules=build([Multibuild('tempsdb', find_pyx('tempsdb')), ], diff --git a/tempsdb/series.pxd b/tempsdb/series.pxd index e31c3f7625e8a8322eaa63a20b195e5f02cef9e1..d6f32b309c7978ac6fcc23274c4dbbe2ea0c3503 100644 --- a/tempsdb/series.pxd +++ b/tempsdb/series.pxd @@ -14,7 +14,7 @@ cdef class TimeSeries: readonly unsigned int block_size readonly unsigned long long last_entry_ts unsigned int page_size - bint descriptor_based_access + readonly bint descriptor_based_access list chunks dict refs_chunks # type: tp.Dict[int, int] dict open_chunks # type: tp.Dict[int, Chunk] diff --git a/tempsdb/series.pyx b/tempsdb/series.pyx index 0fcefed4cbeb9439b431057af88cff4e4354ebc3..86a489d25f8283ebb36ac795ff6d7a9016f174a3 100644 --- a/tempsdb/series.pyx +++ b/tempsdb/series.pyx @@ -18,7 +18,7 @@ cdef class TimeSeries: :ivar last_entry_synced: timestamp of the last synchronized entry (int) :ivar block_size: size of the writable block of data (int) :ivar path: path to the directory containing the series (str) - + :ivar descriptor_based_access: are all chunks using descriptor-based access? (bool) :ivar name: name of the series (str) """ cpdef tuple get_current_value(self):