Files
greptimedb/log_store/object_store_wal/reader/index.html
T

11 lines
6.1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Read-only access to another node’s immutable WAL objects."><title>log_store::object_store_wal::reader - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-1ed95124.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="log_store" data-themes="" data-resource-suffix="" data-rustdoc-version="1.98.1 (48a229cea 2026-09-01)" data-channel="1.98.1" data-search-js="search-9944d736.js" data-stringdex-js="stringdex-2da4960a.js" data-settings-js="settings-170eb4bf.js" ><script src="../../../static.files/storage-41dd4d93.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../static.files/main-417ebf0a.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-f7c3ffd8.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.svg"></head><body class="rustdoc mod"><a class="skip-main-content" href="#main-content">Skip to main content</a><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">Module reader</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../log_store/index.html">log_<wbr>store</a><span class="version">1.4.0-alpha.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module reader</a></h2><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#constants" title="Constants">Constants</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In log_<wbr>store::<wbr>object_<wbr>store_<wbr>wal</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content" tabindex="-1"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">log_store</a>::<wbr><a href="../index.html">object_store_wal</a></div><h1>Module <span>reader</span>&nbsp;<button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/log_store/object_store_wal/reader.rs.html#15-437">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Read-only access to another node’s immutable WAL objects.</p>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.CachedObject.html" title="struct log_store::object_store_wal::reader::CachedObject">Cached<wbr>Object</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Cached metadata for an immutable WAL object, without recovery release records.</dd><dt><a class="struct" href="struct.NodeWalPrefix.html" title="struct log_store::object_store_wal::reader::NodeWalPrefix">Node<wbr>WalPrefix</a></dt><dd>A normalized WAL node prefix: <code>&lt;root&gt;/datanodes/&lt;node&gt;/epochs/&lt;generation&gt;</code>.
Construct it from a persisted source prefix or
<a href="common_wal::config::object_store::ObjectStoreWalConfig::node_prefix"><code>ObjectStoreWalConfig::node_prefix</code></a>.</dd><dt><a class="struct" href="struct.ObjectStoreWalReader.html" title="struct log_store::object_store_wal::reader::ObjectStoreWalReader">Object<wbr>Store<wbr>WalReader</a></dt><dd>Reads remote WAL ranges without claiming an epoch or modifying the source.
The reader never honors missing-history or corrupted-segment skip options.
It does not own region roles, manifests, release positions or replay tasks.</dd><dt><a class="struct" href="struct.ObjectStoreWalReaders.html" title="struct log_store::object_store_wal::reader::ObjectStoreWalReaders">Object<wbr>Store<wbr>WalReaders</a></dt><dd>Readers shared by source prefix on one destination node and one WAL backend.
Keep this registry for the node’s lifetime, and hold each returned reader
while any recovery range still references that source. Dropping the last
reader releases its cached indexes; no background task or writer is started.</dd></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.WalReadUpperBound.html" title="enum log_store::object_store_wal::reader::WalReadUpperBound">WalRead<wbr>Upper<wbr>Bound</a></dt><dd>Upper bound of a WAL range read through [<code>LogStore::read_node</code>]. A reported final entry
must be present, whereas a LIST boundary need not contain entries of the region.</dd></dl><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><dl class="item-table"><dt><a class="constant" href="constant.FOOTER_CONCURRENCY.html" title="constant log_store::object_store_wal::reader::FOOTER_CONCURRENCY">FOOTER_<wbr>CONCURRENCY</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Node-wide limit on concurrent remote object index reads. Startup recovery
keeps its existing, separate concurrency setting.</dd></dl></section></div></main></body></html>