Storage provider that reads ntuple pages from S3-compatible object storage.
Counterpart of RPageSinkS3: implements Mode B reads (one sealed page per S3 object, kTypeObject64 locators). Pages are fetched one object at a time; batching them into concurrent GETs is left to a follow-up.
The anchor is read in a single GET that deliberately asks for more bytes than it holds: its size is not known up front, and a range running past the end of an object returns only what exists, so the length of the reply is the size of the anchor.
Definition at line 184 of file RPageStorageS3.hxx.
Classes | |
| struct | RFromBaseUrl |
| Tag to select the internal constructor that takes an already-resolved base URL. More... | |
Public Types | |
| using | ColumnHandle_t = RColumnHandle |
| The column handle identifies a column with the current open page storage. | |
| using | SealedPageSequence_t = std::deque<RSealedPage> |
Public Member Functions | |
| RPageSourceS3 (std::string_view ntupleName, std::string_view uri, const ROOT::RNTupleReadOptions &options) | |
| ~RPageSourceS3 () override | |
| ColumnHandle_t | AddColumn (ROOT::DescriptorId_t fieldId, ROOT::Internal::RColumn &column) override |
| Register a new column. | |
| void | Attach (ROOT::Internal::RNTupleSerializer::EDescriptorDeserializeMode mode=ROOT::Internal::RNTupleSerializer::EDescriptorDeserializeMode::kForReading) |
| Open the physical storage container and deserialize header and footer. | |
| std::unique_ptr< RPageSource > | Clone () const |
| Open the same storage multiple time, e.g. | |
| void | DropColumn (ColumnHandle_t columnHandle) override |
| Unregisters a column. | |
| RSharedDescriptorGuard | FindClusterId (ROOT::DescriptorId_t physicalColumnId, ROOT::NTupleSize_t index, ROOT::DescriptorId_t &cid) |
| Returns a shared descriptor guard to ensure that the returned cluster id is useable, i.e. | |
| RSharedDescriptorGuard | FindClusterId (ROOT::NTupleSize_t entryIdx, ROOT::DescriptorId_t &cid) |
| An overload of FindClusterId that searches using a certain column element index. | |
| RSharedDescriptorGuard | FindNextClusterId (ROOT::DescriptorId_t clusterId, ROOT::DescriptorId_t &nextId) |
| Uses FindClusterId to search for the cluster with the entry index following the last entry index of the given cluster. | |
| ROOT::DescriptorId_t | GetColumnId (ColumnHandle_t columnHandle) const |
| REntryRange | GetEntryRange () const |
| virtual ROOT::Experimental::Detail::RNTupleMetrics & | GetMetrics () |
| Returns the default metrics object. | |
| ROOT::NTupleSize_t | GetNElements (ROOT::DescriptorId_t physicalColumnId) |
| ROOT::NTupleSize_t | GetNEntries () |
| const std::string & | GetNTupleName () const |
| Returns the NTuple name. | |
| const std::unordered_set< ROOT::DescriptorId_t > & | GetPinnedClusters () const |
| const ROOT::RNTupleReadOptions & | GetReadOptions () const |
| RSharedDescriptorGuard | GetSharedDescriptorGuard () const |
| Takes the read lock for the descriptor. | |
| EPageStorageType | GetType () final |
| Whether the concrete implementation is a sink or a source. | |
| std::vector< std::unique_ptr< ROOT::Internal::RCluster > > | LoadClusters (std::span< ROOT::Internal::RCluster::RKey > clusterKeys) final |
| Populates all the pages of the given cluster ids and columns; it is possible that some columns do not contain any pages. | |
| virtual ROOT::Internal::RPageRef | LoadPage (ColumnHandle_t columnHandle, RNTupleLocalIndex localIndex) |
Another version of LoadPage that allows to specify cluster-relative indexes. | |
| virtual ROOT::Internal::RPageRef | LoadPage (ColumnHandle_t columnHandle, ROOT::NTupleSize_t globalIndex) |
| Allocates and fills a page that contains the index-th element. | |
| void | LoadSealedPage (ROOT::DescriptorId_t physicalColumnId, RNTupleLocalIndex localIndex, RSealedPage &sealedPage) |
Read the packed and compressed bytes of a page into the memory buffer provided by sealedPage. | |
| void | LoadStructure () |
| Loads header and footer without decompressing or deserializing them. | |
| std::unique_ptr< RPageSource > | OpenWithDifferentAnchor (const ROOT::Internal::RNTupleLink &anchorLink, const ROOT::RNTupleReadOptions &options={}) final |
Creates a new PageSource using the same underlying file as this but referring to a different RNTuple, described by anchorLink. | |
| void | PinCluster (ROOT::DescriptorId_t clusterId) |
| Instructs the cluster pool and page pool to consider the given cluster as active (should stay cached). | |
| void | RegisterStreamerInfos () |
| Builds the streamer info records from the descriptor's extra type info section. | |
| void | SetEntryRange (const REntryRange &range) |
| Promise to only read from the given entry range. | |
| void | SetTaskScheduler (RTaskScheduler *taskScheduler) |
| void | UnpinCluster (ROOT::DescriptorId_t clusterId) |
| Allows the given cluster to be evicted from the cluster pool and page pool. | |
| RResult< ROOT::Internal::RPage > | UnsealPage (const RSealedPage &sealedPage, const ROOT::Internal::RColumnElementBase &element) |
| void | UnzipCluster (ROOT::Internal::RCluster *cluster) |
| Parallel decompression and unpacking of the pages in the given cluster. | |
Static Public Member Functions | |
| static std::unique_ptr< RPageSource > | Create (std::string_view ntupleName, std::string_view location, const ROOT::RNTupleReadOptions &options=ROOT::RNTupleReadOptions()) |
| Guess the concrete derived page source from the file name (location) | |
| static RResult< ROOT::Internal::RPage > | UnsealPage (const RSealedPage &sealedPage, const ROOT::Internal::RColumnElementBase &element, ROOT::Internal::RPageAllocator &pageAlloc) |
| Helper for unstreaming a page. | |
Static Public Attributes | |
| static constexpr std::size_t | kNBytesPageChecksum = sizeof(std::uint64_t) |
| The page checksum is a 64bit xxhash3. | |
Protected Member Functions | |
| ROOT::RNTupleDescriptor | AttachImpl () final |
LoadStructureImpl() has been called before AttachImpl() is called | |
| std::unique_ptr< RPageSource > | CloneImpl () const final |
| The cloned page source opens its own pair of HTTP connections to the same base URL. | |
| void | EnableDefaultMetrics (const std::string &prefix) |
| Enables the default set of metrics provided by RPageSource. | |
| RExclDescriptorGuard | GetExclDescriptorGuard () |
Note that the underlying lock is not recursive. See GetSharedDescriptorGuard() for further information. | |
| void | LoadPageListImpl (const RNTupleLocator &locator, unsigned char *buffer) final |
| void | LoadSealedPageImpl (const RNTupleLocator &locator, RSealedPage &sealedPage) final |
| void | LoadStructureImpl () final |
| Fills fStructureBuffer with the compressed header and footer. | |
| void | PrepareLoadCluster (const ROOT::Internal::RCluster::RKey &clusterKey, ROOT::Internal::ROnDiskPageMap &pageZeroMap, const std::function< void(ROOT::DescriptorId_t, ROOT::NTupleSize_t, const ROOT::RClusterDescriptor::RPageInfo &)> &perPageFunc) |
Prepare a page range read for the column set in clusterKey. | |
| void | StopClusterPoolBackgroundThread () |
| virtual void | UnzipClusterImpl (ROOT::Internal::RCluster *cluster) |
| void | WaitForAllTasks () |
Protected Attributes | |
| std::unique_ptr< RCounters > | fCounters |
| ROOT::Experimental::Detail::RNTupleMetrics | fMetrics |
| std::string | fNTupleName |
| ROOT::RNTupleReadOptions | fOptions |
| std::unique_ptr< ROOT::Internal::RPageAllocator > | fPageAllocator |
| For the time being, we will use the heap allocator for all sources and sinks. This may change in the future. | |
| RStructureBuffer | fStructureBuffer |
| Populated by LoadStructureImpl(), reset at the end of Attach() | |
| RTaskScheduler * | fTaskScheduler = nullptr |
Private Member Functions | |
| RPageSourceS3 (std::string_view ntupleName, std::string_view baseUrl, const ROOT::RNTupleReadOptions &options, RFromBaseUrl) | |
| Internal constructor used by CloneImpl: the public constructor derives the base URL by parsing an s3 scheme URI, whereas a clone of an open source already has one and must not re-parse it. | |
| void | GetObject (ROOT::Internal::RCurlConnection &connection, const std::string &url, unsigned char *buffer, std::size_t size) |
Download size bytes from url into the caller-provided buffer via an HTTP GET request. | |
| std::size_t | GetShortObject (ROOT::Internal::RCurlConnection &connection, const std::string &url, unsigned char *buffer, std::size_t size) |
Download at most size bytes of url, returning how many arrived. | |
| ROOT::Internal::RPageRef | LoadPageFromSummary (ColumnHandle_t columnHandle, const RPageSummary &pageSummary) |
| ROOT::Internal::RPageRef | LoadZeroPage (ColumnHandle_t columnHandle, const RPageSummary &pageSummary) |
| std::string | MakeObjectUrl (std::uint64_t objId) const |
| Resolve a numeric object ID to its full HTTP URL through the anchor's URL template. | |
| void | UpdateLastUsedCluster (ROOT::DescriptorId_t clusterId) |
| Does nothing if fLastUsedCluster == clusterId. | |
Private Attributes | |
| RActivePhysicalColumns | fActivePhysicalColumns |
| The active columns are implicitly defined by the model fields or views. | |
| RNTupleAnchorS3 | fAnchor |
| Anchor metadata, fetched and parsed in LoadStructureImpl. | |
| std::string | fBaseUrl |
| HTTP base URL for this ntuple (derived from the s3 scheme URI); never has a trailing slash. | |
| ROOT::Internal::RCurlConnection | fClusterConnection |
| Connection used exclusively by LoadClusters(), which the cluster pool calls on its own I/O thread. | |
| ROOT::Internal::RClusterPool | fClusterPool |
| The cluster pool asynchronously preloads the next few clusters. | |
| ROOT::Internal::RCluster * | fCurrentCluster = nullptr |
| The last cluster from which a page got loaded. Points into fClusterPool->fPool. | |
| ROOT::RNTupleDescriptor | fDescriptor |
| ROOT::Internal::RNTupleDescriptorBuilder | fDescriptorBuilder |
| Populated by LoadStructureImpl and AttachImpl, moved out at the end of AttachImpl. | |
| std::shared_mutex | fDescriptorLock |
| REntryRange | fEntryRange |
| Used by the cluster pool to prevent reading beyond the given range. | |
| bool | fHasStreamerInfosRegistered = false |
| Set to true when RegisterStreamerInfos() is called. | |
| bool | fHasStructure = false |
Set to true once LoadStructure() is called. | |
| bool | fIsAttached = false |
Set to true once Attach() is called. | |
| ROOT::DescriptorId_t | fLastUsedCluster = ROOT::kInvalidDescriptorId |
| Remembers the last cluster id from which a page was requested. | |
| ROOT::Internal::RCurlConnection | fMainConnection |
| Connection used by everything that runs on the calling thread: the anchor, header and footer in LoadStructureImpl, the page lists in LoadPageListImpl and single pages in LoadSealedPageImpl. | |
| ROOT::Internal::RPagePool | fPagePool |
| Pages that are unzipped with IMT are staged into the page pool. | |
| std::unordered_set< ROOT::DescriptorId_t > | fPinnedClusters |
| Pinned clusters and their $2 * (cluster bunch size) - 1$ successors will not be evicted from the cluster pool. | |
| std::map< ROOT::NTupleSize_t, ROOT::DescriptorId_t > | fPreloadedClusters |
| Clusters from where pages got preloaded in UnzipClusterImpl(), ordered by first entry number of the clusters. | |
| std::string | fResolvedUrlTemplate |
| The anchor's URL template with ${baseurl} already substituted, so that resolving an object ID only has to replace ${objid}. | |
#include <ROOT/RPageStorageS3.hxx>
|
inherited |
The column handle identifies a column with the current open page storage.
Definition at line 180 of file RPageStorage.hxx.
|
inherited |
Definition at line 130 of file RPageStorage.hxx.
|
private |
Internal constructor used by CloneImpl: the public constructor derives the base URL by parsing an s3 scheme URI, whereas a clone of an open source already has one and must not re-parse it.
Definition at line 372 of file RPageStorageS3.cxx.
| ROOT::Experimental::Internal::RPageSourceS3::RPageSourceS3 | ( | std::string_view | ntupleName, |
| std::string_view | uri, | ||
| const ROOT::RNTupleReadOptions & | options ) |
Definition at line 366 of file RPageStorageS3.cxx.
|
override |
Definition at line 382 of file RPageStorageS3.cxx.
|
overridevirtualinherited |
Register a new column.
When reading, the column must exist in the ntuple on disk corresponding to the metadata. When writing, every column can only be attached once.
Implements ROOT::Internal::RPageStorage.
Definition at line 206 of file RPageStorage.cxx.
|
inherited |
Open the physical storage container and deserialize header and footer.
Definition at line 236 of file RPageStorage.cxx.
|
finalprotectedvirtual |
LoadStructureImpl() has been called before AttachImpl() is called
Implements ROOT::Internal::RPageSource.
Definition at line 512 of file RPageStorageS3.cxx.
|
inherited |
Open the same storage multiple time, e.g.
for reading in multiple threads. If the source is already attached, the clone will be attached, too. The clone will use, however, it's own connection to the underlying storage (e.g., file descriptor, XRootD handle, etc.)
Definition at line 262 of file RPageStorage.cxx.
|
finalprotectedvirtual |
The cloned page source opens its own pair of HTTP connections to the same base URL.
Implements ROOT::Internal::RPageSource.
Definition at line 612 of file RPageStorageS3.cxx.
|
staticinherited |
Guess the concrete derived page source from the file name (location)
Definition at line 177 of file RPageStorage.cxx.
|
overridevirtualinherited |
Unregisters a column.
A page source decreases the reference counter for the corresponding active column. For a page sink, dropping columns is currently a no-op.
Implements ROOT::Internal::RPageStorage.
Definition at line 216 of file RPageStorage.cxx.
|
protectedinherited |
Enables the default set of metrics provided by RPageSource.
prefix will be used as the prefix for the counters registered in the internal RNTupleMetrics object. A subclass using the default set of metrics is responsible for updating the counters appropriately, e.g. fCounters->fNRead.Inc() Alternatively, a subclass might provide its own RNTupleMetrics object by overriding the GetMetrics() member function.
Definition at line 744 of file RPageStorage.cxx.
|
inherited |
Returns a shared descriptor guard to ensure that the returned cluster id is useable, i.e.
that the corresponding cluster was not meanwhile evicted from the set of active clusters.
Definition at line 365 of file RPageStorage.cxx.
|
inherited |
An overload of FindClusterId that searches using a certain column element index.
Definition at line 306 of file RPageStorage.cxx.
|
inherited |
Uses FindClusterId to search for the cluster with the entry index following the last entry index of the given cluster.
Definition at line 294 of file RPageStorage.cxx.
|
inlineinherited |
Definition at line 188 of file RPageStorage.hxx.
|
inlineinherited |
Definition at line 875 of file RPageStorage.hxx.
|
inlineprotectedinherited |
Note that the underlying lock is not recursive. See GetSharedDescriptorGuard() for further information.
Definition at line 807 of file RPageStorage.hxx.
|
inlinevirtualinherited |
Returns the default metrics object.
Subclasses might alternatively provide their own metrics object by overriding this.
Definition at line 192 of file RPageStorage.hxx.
|
inherited |
Definition at line 278 of file RPageStorage.cxx.
|
inherited |
Definition at line 273 of file RPageStorage.cxx.
|
inlineinherited |
Returns the NTuple name.
Definition at line 195 of file RPageStorage.hxx.
|
private |
Download size bytes from url into the caller-provided buffer via an HTTP GET request.
The connection is explicit because the caller's thread determines which one may be used.
Definition at line 402 of file RPageStorageS3.cxx.
|
inlineinherited |
Definition at line 913 of file RPageStorage.hxx.
|
inlineinherited |
Definition at line 835 of file RPageStorage.hxx.
|
inlineinherited |
Takes the read lock for the descriptor.
Multiple threads can take the lock concurrently. The underlying std::shared_mutex, however, is neither read nor write recursive: within one thread, only one lock (shared or exclusive) must be acquired at the same time. This requires special care in sections protected by GetSharedDescriptorGuard() and GetExclDescriptorGuard() especially to avoid that the locks are acquired indirectly. As a general guideline, no other method of the page source should be called (directly or indirectly) in a guarded section.
Definition at line 843 of file RPageStorage.hxx.
|
private |
Download at most size bytes of url, returning how many arrived.
Used to read an object of unknown length, where a reply shorter than the request is the answer rather than an error.
Definition at line 426 of file RPageStorageS3.cxx.
|
inlinefinalvirtualinherited |
Whether the concrete implementation is a sink or a source.
Implements ROOT::Internal::RPageStorage.
Definition at line 834 of file RPageStorage.hxx.
|
finalvirtual |
Populates all the pages of the given cluster ids and columns; it is possible that some columns do not contain any pages.
The page source may load more columns than the minimal necessary set from columns. To indicate which columns have been loaded, LoadClusters()must mark them withSetColumnAvailable(). That includes the ones from thecolumnsthat don't have pages; otherwise subsequent requests for the cluster would assume an incomplete cluster and trigger loading again. LoadClusters()` is typically called from the I/O thread of a cluster pool, i.e. the method runs concurrently to other methods of the page source.
Implements ROOT::Internal::RPageSource.
Definition at line 550 of file RPageStorageS3.cxx.
|
virtualinherited |
Another version of LoadPage that allows to specify cluster-relative indexes.
Returns a default-constructed RPage for suppressed columns.
Definition at line 713 of file RPageStorage.cxx.
|
virtualinherited |
Allocates and fills a page that contains the index-th element.
Calls into the concrete page source for loading the corresponding sealed page of cluster where necessary. Returns a default-constructed RPage for suppressed columns.
Definition at line 681 of file RPageStorage.cxx.
|
privateinherited |
Definition at line 617 of file RPageStorage.cxx.
|
finalprotectedvirtual |
Implements ROOT::Internal::RPageSource.
Definition at line 533 of file RPageStorageS3.cxx.
|
inherited |
Read the packed and compressed bytes of a page into the memory buffer provided by sealedPage.
The sealed page can be used subsequently in a call to RPageSink::CommitSealedPage. The fSize and fNElements member of the sealedPage parameters are always set. If sealedPage.fBuffer is nullptr, no data will be copied but the returned size information can be used by the caller to allocate a large enough buffer and call LoadSealedPage again.
Definition at line 573 of file RPageStorage.cxx.
|
finalprotectedvirtual |
Implements ROOT::Internal::RPageSource.
Definition at line 539 of file RPageStorageS3.cxx.
|
inherited |
Loads header and footer without decompressing or deserializing them.
This can be used to asynchronously open a file in the background. The method is idempotent and it is called as a first step in Attach(). Pages sources may or may not make use of splitting loading and processing metadata. Therefore, LoadStructure() may do nothing and defer loading the metadata to Attach().
Definition at line 229 of file RPageStorage.cxx.
|
finalprotectedvirtual |
Fills fStructureBuffer with the compressed header and footer.
Implements ROOT::Internal::RPageSource.
Definition at line 446 of file RPageStorageS3.cxx.
|
privateinherited |
Definition at line 599 of file RPageStorage.cxx.
|
private |
Resolve a numeric object ID to its full HTTP URL through the anchor's URL template.
Definition at line 389 of file RPageStorageS3.cxx.
|
finalvirtual |
Creates a new PageSource using the same underlying file as this but referring to a different RNTuple, described by anchorLink.
Implements ROOT::Internal::RPageSource.
Definition at line 624 of file RPageStorageS3.cxx.
|
inlineinherited |
Instructs the cluster pool and page pool to consider the given cluster as active (should stay cached).
Definition at line 910 of file RPageStorage.hxx.
|
protectedinherited |
Prepare a page range read for the column set in clusterKey.
Specifically, pages referencing the kTypePageZero locator are filled in pageZeroMap; otherwise, perPageFunc is called for each page. This is commonly used as part of LoadClusters() in derived classes.
Definition at line 512 of file RPageStorage.cxx.
|
inherited |
Builds the streamer info records from the descriptor's extra type info section.
This is necessary when connecting streamer fields so that emulated classes can be read.
Definition at line 881 of file RPageStorage.cxx.
|
inherited |
Promise to only read from the given entry range.
If set, prevents the cluster pool from reading-ahead beyond the given range. The range needs to be within [0, GetNEntries()).
Definition at line 221 of file RPageStorage.cxx.
|
inlineinherited |
Definition at line 197 of file RPageStorage.hxx.
|
inlineprotectedinherited |
Definition at line 810 of file RPageStorage.hxx.
|
inlineinherited |
Allows the given cluster to be evicted from the cluster pool and page pool.
Definition at line 912 of file RPageStorage.hxx.
|
inherited |
Definition at line 837 of file RPageStorage.cxx.
|
staticinherited |
Helper for unstreaming a page.
This is commonly used in derived, concrete page sources. The implementation currently always makes a memory copy, even if the sealed page is uncompressed and in the final memory layout. The optimization of directly mapping pages is left to the concrete page source implementations.
Definition at line 842 of file RPageStorage.cxx.
|
inherited |
Parallel decompression and unpacking of the pages in the given cluster.
The unzipped pages are supposed to be preloaded in a page pool attached to the source. The method is triggered by the cluster pool's unzip thread. It is an optional optimization, the method can safely do nothing. In particular, the actual implementation will only run if a task scheduler is set. In practice, a task scheduler is set if implicit multi-threading is turned on.
Definition at line 434 of file RPageStorage.cxx.
|
protectedvirtualinherited |
Definition at line 440 of file RPageStorage.cxx.
|
privateinherited |
Does nothing if fLastUsedCluster == clusterId.
Otherwise, updated fLastUsedCluster and evict unused paged from the page pool of all previous clusters. Must not be called when the descriptor guard is taken.
Definition at line 539 of file RPageStorage.cxx.
|
inlineprotectedinherited |
Definition at line 153 of file RPageStorage.hxx.
|
privateinherited |
The active columns are implicitly defined by the model fields or views.
Definition at line 697 of file RPageStorage.hxx.
|
private |
Anchor metadata, fetched and parsed in LoadStructureImpl.
Definition at line 197 of file RPageStorageS3.hxx.
|
private |
HTTP base URL for this ntuple (derived from the s3 scheme URI); never has a trailing slash.
Definition at line 187 of file RPageStorageS3.hxx.
|
private |
Connection used exclusively by LoadClusters(), which the cluster pool calls on its own I/O thread.
A libcurl easy handle carries per-request state and must not be driven by two threads at once, so the prefetch path needs a handle of its own rather than sharing fMainConnection.
Definition at line 195 of file RPageStorageS3.hxx.
|
privateinherited |
The cluster pool asynchronously preloads the next few clusters.
Note that derived classes should call StopClusterPoolBackgroundThread() in their destructor so that the I/O background thread does not call methods from the destructed derived class.
Definition at line 702 of file RPageStorage.hxx.
|
protectedinherited |
Definition at line 767 of file RPageStorage.hxx.
|
privateinherited |
The last cluster from which a page got loaded. Points into fClusterPool->fPool.
Definition at line 704 of file RPageStorage.hxx.
|
privateinherited |
Definition at line 689 of file RPageStorage.hxx.
|
private |
Populated by LoadStructureImpl and AttachImpl, moved out at the end of AttachImpl.
Definition at line 202 of file RPageStorageS3.hxx.
|
mutableprivateinherited |
Definition at line 690 of file RPageStorage.hxx.
|
privateinherited |
Used by the cluster pool to prevent reading beyond the given range.
Definition at line 691 of file RPageStorage.hxx.
|
privateinherited |
Set to true when RegisterStreamerInfos() is called.
Definition at line 694 of file RPageStorage.hxx.
|
privateinherited |
Set to true once LoadStructure() is called.
Definition at line 692 of file RPageStorage.hxx.
|
privateinherited |
Set to true once Attach() is called.
Definition at line 693 of file RPageStorage.hxx.
|
privateinherited |
Remembers the last cluster id from which a page was requested.
Definition at line 709 of file RPageStorage.hxx.
|
private |
Connection used by everything that runs on the calling thread: the anchor, header and footer in LoadStructureImpl, the page lists in LoadPageListImpl and single pages in LoadSealedPageImpl.
Reused across objects so curl keeps it alive instead of re-handshaking per object.
Definition at line 191 of file RPageStorageS3.hxx.
|
protectedinherited |
Definition at line 146 of file RPageStorage.hxx.
|
protectedinherited |
Definition at line 151 of file RPageStorage.hxx.
|
protectedinherited |
Definition at line 770 of file RPageStorage.hxx.
|
protectedinherited |
For the time being, we will use the heap allocator for all sources and sinks. This may change in the future.
Definition at line 149 of file RPageStorage.hxx.
|
privateinherited |
Pages that are unzipped with IMT are staged into the page pool.
Definition at line 706 of file RPageStorage.hxx.
|
privateinherited |
Pinned clusters and their $2 * (cluster bunch size) - 1$ successors will not be evicted from the cluster pool.
Pages of pinned clusters won't be evicted from the page pool.
Definition at line 717 of file RPageStorage.hxx.
|
privateinherited |
Clusters from where pages got preloaded in UnzipClusterImpl(), ordered by first entry number of the clusters.
If the last used cluster changes in LoadPage(), all unused pages from previous clusters are evicted from the page pool. Pinned clusters won't be evicted.
Definition at line 713 of file RPageStorage.hxx.
|
private |
The anchor's URL template with ${baseurl} already substituted, so that resolving an object ID only has to replace ${objid}.
Set from the anchor in LoadStructureImpl and carried into clones.
Definition at line 200 of file RPageStorageS3.hxx.
|
protectedinherited |
Populated by LoadStructureImpl(), reset at the end of Attach()
Definition at line 768 of file RPageStorage.hxx.
|
protectedinherited |
Definition at line 152 of file RPageStorage.hxx.
|
staticconstexprinherited |
The page checksum is a 64bit xxhash3.
Definition at line 73 of file RPageStorage.hxx.