[{"data":1,"prerenderedAt":2336},["ShallowReactive",2],{"navigation_docs":3,"-docs-rfcs-0002-home-region-outage":997},[4,27,63,138,312,336,918,931,979,993],{"title":5,"path":6,"stem":7,"children":8,"order":10,"icon":11},"Overview","\u002Fdocs\u002Foverview","docs\u002F1.overview\u002Findex",[9,12,18,24],{"title":5,"path":6,"stem":7,"order":10,"icon":11},1,"i-lucide-info",{"title":13,"path":14,"stem":15,"order":16,"icon":17},"Getting Started","\u002Fdocs\u002Foverview\u002Fgetting-started","docs\u002F1.overview\u002F2.getting-started",2,"i-lucide-rocket",{"title":19,"path":20,"stem":21,"order":22,"icon":23},"Contributing","\u002Fdocs\u002Foverview\u002Fcontributing","docs\u002F1.overview\u002F3.contributing",3,"i-lucide-heart",{"title":5,"path":25,"stem":26,"order":10},"\u002Fdocs\u002Foverview\u002F_dir","docs\u002F1.overview\u002F_dir",{"title":28,"path":29,"stem":30,"children":31,"page":62},"Concepts","\u002Fdocs\u002Fconcepts","docs\u002F2.concepts",[32,37,42,47,53,59],{"title":33,"path":34,"stem":35,"order":10,"icon":36},"Events","\u002Fdocs\u002Fconcepts\u002Fevents","docs\u002F2.concepts\u002F1.events","i-lucide-zap",{"title":38,"path":39,"stem":40,"order":16,"icon":41},"Transports","\u002Fdocs\u002Fconcepts\u002Ftransports","docs\u002F2.concepts\u002F2.transports","i-lucide-network",{"title":43,"path":44,"stem":45,"order":22,"icon":46},"Module System","\u002Fdocs\u002Fconcepts\u002Fmodules","docs\u002F2.concepts\u002F3.modules","i-lucide-puzzle",{"title":48,"path":49,"stem":50,"order":51,"icon":52},"Flows","\u002Fdocs\u002Fconcepts\u002Fflows","docs\u002F2.concepts\u002F4.flows",4,"i-lucide-workflow",{"title":54,"path":55,"stem":56,"order":57,"icon":58},"Scheduler","\u002Fdocs\u002Fconcepts\u002Fscheduler","docs\u002F2.concepts\u002F5.scheduler",5,"i-lucide-clock",{"title":28,"path":60,"stem":61,"order":16},"\u002Fdocs\u002Fconcepts\u002F_dir","docs\u002F2.concepts\u002F_dir",false,{"title":64,"path":65,"stem":66,"children":67,"page":62},"Guides","\u002Fdocs\u002Fguides","docs\u002F3.guides",[68,73,77,81,86,90,94,98,102,107,113,119,125,131,135],{"title":69,"path":70,"stem":71,"order":10,"icon":72},"Creating a Go App","\u002Fdocs\u002Fguides\u002Fcreating-go-app","docs\u002F3.guides\u002F1.creating-go-app","i-lucide-terminal",{"title":74,"path":75,"stem":76},"E2E tests & demo videos","\u002Fdocs\u002Fguides\u002Fe2e-and-demo-videos","docs\u002F3.guides\u002F10.e2e-and-demo-videos",{"title":78,"path":79,"stem":80,"icon":17},"Deploying to production","\u002Fdocs\u002Fguides\u002Fdeploying-to-production","docs\u002F3.guides\u002F11.deploying-to-production",{"title":82,"path":83,"stem":84,"icon":85},"Events & services dashboard","\u002Fdocs\u002Fguides\u002Fevents-dashboard","docs\u002F3.guides\u002F12.events-dashboard","i-lucide-radio-tower",{"title":87,"path":88,"stem":89,"icon":41},"Multi-server Swarm","\u002Fdocs\u002Fguides\u002Fmulti-server-swarm","docs\u002F3.guides\u002F13.multi-server-swarm",{"title":91,"path":92,"stem":93,"order":16,"icon":46},"Creating a Go Module","\u002Fdocs\u002Fguides\u002Fcreating-go-module","docs\u002F3.guides\u002F2.creating-go-module",{"title":95,"path":96,"stem":97,"order":22,"icon":36},"Adding Events","\u002Fdocs\u002Fguides\u002Fadding-events-to-go-module","docs\u002F3.guides\u002F3.adding-events-to-go-module",{"title":99,"path":100,"stem":101,"order":51,"icon":52},"FlowDSL to Service","\u002Fdocs\u002Fguides\u002Fflowdsl-to-redelay","docs\u002F3.guides\u002F4.flowdsl-to-redelay",{"title":103,"path":104,"stem":105,"order":57,"icon":106},"Choosing a Transport","\u002Fdocs\u002Fguides\u002Fchoosing-a-transport","docs\u002F3.guides\u002F5.choosing-a-transport","i-lucide-git-branch",{"title":108,"path":109,"stem":110,"order":111,"icon":112},"Module Browser (\u002Fmodules)","\u002Fdocs\u002Fguides\u002Fmodules-browser","docs\u002F3.guides\u002F6.modules-browser",6,"i-lucide-layout-dashboard",{"title":114,"path":115,"stem":116,"order":117,"icon":118},"Running Flows","\u002Fdocs\u002Fguides\u002Frunning-flows","docs\u002F3.guides\u002F7.running-flows",7,"i-lucide-play-circle",{"title":120,"path":121,"stem":122,"order":123,"icon":124},"Trace + Live Observability","\u002Fdocs\u002Fguides\u002Fobservability","docs\u002F3.guides\u002F8.observability",8,"i-lucide-activity",{"title":126,"path":127,"stem":128,"order":129,"icon":130},"Project AI Assistant","\u002Fdocs\u002Fguides\u002Fai-assistant","docs\u002F3.guides\u002F9.ai-assistant",9,"i-lucide-sparkles",{"title":132,"path":133,"stem":134},"Debug taps — trace live data through any node","\u002Fdocs\u002Fguides\u002Fdebug-taps","docs\u002F3.guides\u002F9.debug-taps",{"title":64,"path":136,"stem":137,"order":22},"\u002Fdocs\u002Fguides\u002F_dir","docs\u002F3.guides\u002F_dir",{"title":139,"path":140,"stem":141,"children":142,"page":62},"Reference","\u002Fdocs\u002Freference","docs\u002F4.reference",[143,148,152,157,162,167,172,177,181,186,191,196,202,208,214,219,224,228,234,239,245,251,256,262,268,272,276,282,287,293,297,303,309],{"title":144,"path":145,"stem":146,"order":10,"icon":147},"Go Framework","\u002Fdocs\u002Freference\u002Fgo-framework","docs\u002F4.reference\u002F01.go-framework","i-simple-icons-go",{"title":149,"path":150,"stem":151,"order":16,"icon":46},"Built-in Modules","\u002Fdocs\u002Freference\u002Fgo-modules","docs\u002F4.reference\u002F02.go-modules",{"title":153,"path":154,"stem":155,"order":22,"icon":156},"Domain Addon Modules","\u002Fdocs\u002Freference\u002Fgo-modules-addons","docs\u002F4.reference\u002F03.go-modules-addons","i-lucide-blocks",{"title":158,"path":159,"stem":160,"order":51,"icon":161},"Go Events","\u002Fdocs\u002Freference\u002Fgo-events","docs\u002F4.reference\u002F04.go-events","i-lucide-radio",{"title":163,"path":164,"stem":165,"order":57,"icon":166},"Email Module","\u002Fdocs\u002Freference\u002Fgo-module-email","docs\u002F4.reference\u002F05.go-module-email","i-lucide-mail",{"title":168,"path":169,"stem":170,"order":111,"icon":171},"Go Core & IR","\u002Fdocs\u002Freference\u002Fgo-core","docs\u002F4.reference\u002F06.go-core","i-lucide-cpu",{"title":173,"path":174,"stem":175,"order":117,"icon":176},"Module Definition Files","\u002Fdocs\u002Freference\u002Fgo-module-files","docs\u002F4.reference\u002F07.go-module-files","i-lucide-file-code",{"title":178,"path":179,"stem":180,"order":123,"icon":72},"CLI Reference","\u002Fdocs\u002Freference\u002Fgo-cli","docs\u002F4.reference\u002F08.go-cli",{"title":182,"path":183,"stem":184,"order":129,"icon":185},"Go Formats","\u002Fdocs\u002Freference\u002Fgo-formats","docs\u002F4.reference\u002F09.go-formats","i-lucide-file-json",{"title":187,"path":188,"stem":189,"order":190,"icon":161},"AsyncAPI Module","\u002Fdocs\u002Freference\u002Fgo-asyncapi","docs\u002F4.reference\u002F10.go-asyncapi",10,{"title":192,"path":193,"stem":194,"order":195,"icon":52},"Go FlowDSL","\u002Fdocs\u002Freference\u002Fgo-flowdsl","docs\u002F4.reference\u002F11.go-flowdsl",11,{"title":197,"path":198,"stem":199,"order":200,"icon":201},"FlowDSL Examples","\u002Fdocs\u002Freference\u002Fflowdsl-examples","docs\u002F4.reference\u002F12.flowdsl-examples",12,"i-lucide-file-code-2",{"title":203,"path":204,"stem":205,"order":206,"icon":207},"FlowDSL Sync","\u002Fdocs\u002Freference\u002Fflowdsl-sync","docs\u002F4.reference\u002F13.flowdsl-sync",13,"i-lucide-refresh-cw",{"title":209,"path":210,"stem":211,"order":212,"icon":213},"Node.js Framework","\u002Fdocs\u002Freference\u002Fjs-framework","docs\u002F4.reference\u002F14.js-framework",14,"i-simple-icons-nodedotjs",{"title":215,"path":216,"stem":217,"order":212,"icon":218},"Python Framework","\u002Fdocs\u002Freference\u002Fpy-framework","docs\u002F4.reference\u002F14.py-framework","i-simple-icons-python",{"title":220,"path":221,"stem":222,"order":223,"icon":213},"Node.js Events","\u002Fdocs\u002Freference\u002Fjs-events","docs\u002F4.reference\u002F15.js-events",15,{"title":225,"path":226,"stem":227,"order":223,"icon":218},"Python Events","\u002Fdocs\u002Freference\u002Fpy-events","docs\u002F4.reference\u002F15.py-events",{"title":229,"path":230,"stem":231,"order":232,"icon":233},"go-ai — LLM Providers, Guard, Ledger","\u002Fdocs\u002Freference\u002Fgo-ai","docs\u002F4.reference\u002F16.go-ai",16,"i-lucide-brain-circuit",{"title":235,"path":236,"stem":237,"order":238,"icon":41},"Infrastructure Modules","\u002Fdocs\u002Freference\u002Fgeneric-infra-modules","docs\u002F4.reference\u002F17.generic-infra-modules",17,{"title":240,"path":241,"stem":242,"order":243,"icon":244},"Flow Templates","\u002Fdocs\u002Freference\u002Fflow-templates","docs\u002F4.reference\u002F18.flow-templates",18,"i-lucide-library-big",{"title":246,"path":247,"stem":248,"order":249,"icon":250},"Assistant (chat + handoff)","\u002Fdocs\u002Freference\u002Fassistant","docs\u002F4.reference\u002F19.assistant",19,"i-lucide-messages-square",{"title":252,"path":253,"stem":254,"order":255,"icon":41},"Coordination","\u002Fdocs\u002Freference\u002Fcoordination","docs\u002F4.reference\u002F20.coordination",20,{"title":257,"path":258,"stem":259,"order":260,"icon":261},"Search (vector)","\u002Fdocs\u002Freference\u002Fsearch","docs\u002F4.reference\u002F21.search",21,"i-lucide-search",{"title":263,"path":264,"stem":265,"order":266,"icon":267},"Profiles","\u002Fdocs\u002Freference\u002Fprofiles","docs\u002F4.reference\u002F22.profiles",22,"i-lucide-bookmark",{"title":269,"path":270,"stem":271},"Flow-driven HTTP endpoints","\u002Fdocs\u002Freference\u002Fflow-driven-endpoints","docs\u002F4.reference\u002F23.flow-driven-endpoints",{"title":273,"path":274,"stem":275},"Deployments","\u002Fdocs\u002Freference\u002Fdeployments","docs\u002F4.reference\u002F24.deployments",{"title":277,"path":278,"stem":279,"order":280,"icon":281},"i18n (translations)","\u002Fdocs\u002Freference\u002Fi18n","docs\u002F4.reference\u002F25.i18n",25,"i-lucide-languages",{"title":283,"path":284,"stem":285,"order":286,"icon":161},"WebSockets","\u002Fdocs\u002Freference\u002Fwebsockets","docs\u002F4.reference\u002F26.websockets",26,{"title":288,"path":289,"stem":290,"order":291,"icon":292},"Localized content","\u002Fdocs\u002Freference\u002Flocalized-content","docs\u002F4.reference\u002F27.localized-content",27,"i-lucide-file-text",{"title":294,"path":295,"stem":296},"Instagram","\u002Fdocs\u002Freference\u002Finstagram","docs\u002F4.reference\u002F28.instagram",{"title":298,"path":299,"stem":300,"order":301,"icon":302},"Regions","\u002Fdocs\u002Freference\u002Fregions","docs\u002F4.reference\u002F29.regions",29,"i-lucide-globe-2",{"title":304,"path":305,"stem":306,"order":307,"icon":308},"Turnstile","\u002Fdocs\u002Freference\u002Fturnstile","docs\u002F4.reference\u002F30.turnstile",30,"i-lucide-shield-check",{"title":139,"path":310,"stem":311,"order":51},"\u002Fdocs\u002Freference\u002F_dir","docs\u002F4.reference\u002F_dir",{"title":313,"path":314,"stem":315,"children":316,"page":62},"Integrations","\u002Fdocs\u002Fintegrations","docs\u002F5.integrations",[317,321,325,329,333],{"title":318,"path":319,"stem":320,"order":10,"icon":52},"FlowDSL","\u002Fdocs\u002Fintegrations\u002Fflowdsl","docs\u002F5.integrations\u002F1.flowdsl",{"title":322,"path":323,"stem":324,"order":16,"icon":292},"OpenAPI","\u002Fdocs\u002Fintegrations\u002Fopenapi","docs\u002F5.integrations\u002F2.openapi",{"title":326,"path":327,"stem":328,"order":22,"icon":161},"AsyncAPI","\u002Fdocs\u002Fintegrations\u002Fasyncapi","docs\u002F5.integrations\u002F3.asyncapi",{"title":330,"path":331,"stem":332},"MCP Integration","\u002Fdocs\u002Fintegrations\u002Fmcp","docs\u002F5.integrations\u002F4.mcp",{"title":313,"path":334,"stem":335,"order":57},"\u002Fdocs\u002Fintegrations\u002F_dir","docs\u002F5.integrations\u002F_dir",{"title":337,"path":338,"stem":339,"children":340},"FlowDSL Node Catalog","\u002Fdocs\u002Fnodes","docs\u002F5.nodes\u002Findex",[341,342,346,350,354,358,362,366,370,374,378,382,386,390,394,398,402,406,410,414,418,422,426,430,434,438,442,446,450,454,458,462,466,470,474,478,482,486,490,494,498,502,506,510,514,518,522,526,530,534,538,542,546,550,554,558,562,566,570,574,578,582,586,590,594,598,602,606,610,614,618,622,626,630,634,638,642,646,650,654,658,662,666,670,674,678,682,686,690,694,698,702,706,710,714,718,722,726,730,734,738,742,746,750,754,758,762,766,770,774,778,782,786,790,794,798,802,806,810,814,818,822,826,830,834,838,842,846,850,854,858,862,866,870,874,878,882,886,890,894,898,902,906,910,914],{"title":337,"path":338,"stem":339},{"title":343,"path":344,"stem":345,"order":57},"Node Catalog","\u002Fdocs\u002Fnodes\u002F_dir","docs\u002F5.nodes\u002F_dir",{"title":347,"path":348,"stem":349},"Record Alert","\u002Fdocs\u002Fnodes\u002Falerts_record","docs\u002F5.nodes\u002Falerts_record",{"title":351,"path":352,"stem":353},"Log to API Log","\u002Fdocs\u002Fnodes\u002Fapilog_record","docs\u002F5.nodes\u002Fapilog_record",{"title":355,"path":356,"stem":357},"ClickHouse Exec","\u002Fdocs\u002Fnodes\u002Fclickhouse_exec","docs\u002F5.nodes\u002Fclickhouse_exec",{"title":359,"path":360,"stem":361},"ClickHouse Insert","\u002Fdocs\u002Fnodes\u002Fclickhouse_insert","docs\u002F5.nodes\u002Fclickhouse_insert",{"title":363,"path":364,"stem":365},"ClickHouse Query","\u002Fdocs\u002Fnodes\u002Fclickhouse_query","docs\u002F5.nodes\u002Fclickhouse_query",{"title":367,"path":368,"stem":369},"Array Op","\u002Fdocs\u002Fnodes\u002Fcore_array-ops","docs\u002F5.nodes\u002Fcore_array-ops",{"title":371,"path":372,"stem":373},"Assert","\u002Fdocs\u002Fnodes\u002Fcore_assert","docs\u002F5.nodes\u002Fcore_assert",{"title":375,"path":376,"stem":377},"Audit Emit","\u002Fdocs\u002Fnodes\u002Fcore_audit-emit","docs\u002F5.nodes\u002Fcore_audit-emit",{"title":379,"path":380,"stem":381},"Catch","\u002Fdocs\u002Fnodes\u002Fcore_catch","docs\u002F5.nodes\u002Fcore_catch",{"title":383,"path":384,"stem":385},"DateTime","\u002Fdocs\u002Fnodes\u002Fcore_datetime","docs\u002F5.nodes\u002Fcore_datetime",{"title":387,"path":388,"stem":389},"Dead Letter","\u002Fdocs\u002Fnodes\u002Fcore_dead-letter","docs\u002F5.nodes\u002Fcore_dead-letter",{"title":391,"path":392,"stem":393},"Delay","\u002Fdocs\u002Fnodes\u002Fcore_delay","docs\u002F5.nodes\u002Fcore_delay",{"title":395,"path":396,"stem":397},"ForEach","\u002Fdocs\u002Fnodes\u002Fcore_foreach","docs\u002F5.nodes\u002Fcore_foreach",{"title":399,"path":400,"stem":401},"Idempotency Key","\u002Fdocs\u002Fnodes\u002Fcore_idempotency-key","docs\u002F5.nodes\u002Fcore_idempotency-key",{"title":403,"path":404,"stem":405},"If","\u002Fdocs\u002Fnodes\u002Fcore_if","docs\u002F5.nodes\u002Fcore_if",{"title":407,"path":408,"stem":409},"Inspect","\u002Fdocs\u002Fnodes\u002Fcore_inspect","docs\u002F5.nodes\u002Fcore_inspect",{"title":411,"path":412,"stem":413},"JSON Merge","\u002Fdocs\u002Fnodes\u002Fcore_json-merge","docs\u002F5.nodes\u002Fcore_json-merge",{"title":415,"path":416,"stem":417},"JSON Schema Validate","\u002Fdocs\u002Fnodes\u002Fcore_json-schema-validate","docs\u002F5.nodes\u002Fcore_json-schema-validate",{"title":419,"path":420,"stem":421},"JSONPath Extract","\u002Fdocs\u002Fnodes\u002Fcore_jsonpath-extract","docs\u002F5.nodes\u002Fcore_jsonpath-extract",{"title":423,"path":424,"stem":425},"Log","\u002Fdocs\u002Fnodes\u002Fcore_log","docs\u002F5.nodes\u002Fcore_log",{"title":427,"path":428,"stem":429},"Math","\u002Fdocs\u002Fnodes\u002Fcore_math","docs\u002F5.nodes\u002Fcore_math",{"title":431,"path":432,"stem":433},"Merge","\u002Fdocs\u002Fnodes\u002Fcore_merge","docs\u002F5.nodes\u002Fcore_merge",{"title":435,"path":436,"stem":437},"Metric Counter","\u002Fdocs\u002Fnodes\u002Fcore_metric-counter","docs\u002F5.nodes\u002Fcore_metric-counter",{"title":439,"path":440,"stem":441},"Metric Gauge","\u002Fdocs\u002Fnodes\u002Fcore_metric-gauge","docs\u002F5.nodes\u002Fcore_metric-gauge",{"title":443,"path":444,"stem":445},"Mock","\u002Fdocs\u002Fnodes\u002Fcore_mock","docs\u002F5.nodes\u002Fcore_mock",{"title":447,"path":448,"stem":449},"No-op","\u002Fdocs\u002Fnodes\u002Fcore_noop","docs\u002F5.nodes\u002Fcore_noop",{"title":451,"path":452,"stem":453},"Object Omit","\u002Fdocs\u002Fnodes\u002Fcore_object-omit","docs\u002F5.nodes\u002Fcore_object-omit",{"title":455,"path":456,"stem":457},"Object Pick","\u002Fdocs\u002Fnodes\u002Fcore_object-pick","docs\u002F5.nodes\u002Fcore_object-pick",{"title":459,"path":460,"stem":461},"Parallel Fan-Out","\u002Fdocs\u002Fnodes\u002Fcore_parallel","docs\u002F5.nodes\u002Fcore_parallel",{"title":463,"path":464,"stem":465},"Raise","\u002Fdocs\u002Fnodes\u002Fcore_raise","docs\u002F5.nodes\u002Fcore_raise",{"title":467,"path":468,"stem":469},"Rate Limit Check","\u002Fdocs\u002Fnodes\u002Fcore_rate-limit-check","docs\u002F5.nodes\u002Fcore_rate-limit-check",{"title":471,"path":472,"stem":473},"Regex Extract","\u002Fdocs\u002Fnodes\u002Fcore_regex-extract","docs\u002F5.nodes\u002Fcore_regex-extract",{"title":475,"path":476,"stem":477},"Require Fields","\u002Fdocs\u002Fnodes\u002Fcore_require-fields","docs\u002F5.nodes\u002Fcore_require-fields",{"title":479,"path":480,"stem":481},"Rethrow","\u002Fdocs\u002Fnodes\u002Fcore_rethrow","docs\u002F5.nodes\u002Fcore_rethrow",{"title":483,"path":484,"stem":485},"Return","\u002Fdocs\u002Fnodes\u002Fcore_return","docs\u002F5.nodes\u002Fcore_return",{"title":487,"path":488,"stem":489},"HMAC Signature Verify","\u002Fdocs\u002Fnodes\u002Fcore_signature-verify","docs\u002F5.nodes\u002Fcore_signature-verify",{"title":491,"path":492,"stem":493},"String Op","\u002Fdocs\u002Fnodes\u002Fcore_string-ops","docs\u002F5.nodes\u002Fcore_string-ops",{"title":495,"path":496,"stem":497},"Subflow Invoke","\u002Fdocs\u002Fnodes\u002Fcore_subflow-invoke","docs\u002F5.nodes\u002Fcore_subflow-invoke",{"title":499,"path":500,"stem":501},"Switch","\u002Fdocs\u002Fnodes\u002Fcore_switch","docs\u002F5.nodes\u002Fcore_switch",{"title":503,"path":504,"stem":505},"Template Render","\u002Fdocs\u002Fnodes\u002Fcore_template-render","docs\u002F5.nodes\u002Fcore_template-render",{"title":507,"path":508,"stem":509},"Throttle","\u002Fdocs\u002Fnodes\u002Fcore_throttle","docs\u002F5.nodes\u002Fcore_throttle",{"title":511,"path":512,"stem":513},"Timeout","\u002Fdocs\u002Fnodes\u002Fcore_timeout","docs\u002F5.nodes\u002Fcore_timeout",{"title":515,"path":516,"stem":517},"Type Cast","\u002Fdocs\u002Fnodes\u002Fcore_type-cast","docs\u002F5.nodes\u002Fcore_type-cast",{"title":519,"path":520,"stem":521},"Webhook Respond","\u002Fdocs\u002Fnodes\u002Fcore_webhook-respond","docs\u002F5.nodes\u002Fcore_webhook-respond",{"title":523,"path":524,"stem":525},"File Delete","\u002Fdocs\u002Fnodes\u002Ffilesys_delete","docs\u002F5.nodes\u002Ffilesys_delete",{"title":527,"path":528,"stem":529},"Directory List","\u002Fdocs\u002Fnodes\u002Ffilesys_list","docs\u002F5.nodes\u002Ffilesys_list",{"title":531,"path":532,"stem":533},"File Read","\u002Fdocs\u002Fnodes\u002Ffilesys_read","docs\u002F5.nodes\u002Ffilesys_read",{"title":535,"path":536,"stem":537},"File Stat","\u002Fdocs\u002Fnodes\u002Ffilesys_stat","docs\u002F5.nodes\u002Ffilesys_stat",{"title":539,"path":540,"stem":541},"File Write","\u002Fdocs\u002Fnodes\u002Ffilesys_write","docs\u002F5.nodes\u002Ffilesys_write",{"title":543,"path":544,"stem":545},"FTP Delete","\u002Fdocs\u002Fnodes\u002Fftp_delete","docs\u002F5.nodes\u002Fftp_delete",{"title":547,"path":548,"stem":549},"FTP Download","\u002Fdocs\u002Fnodes\u002Fftp_download","docs\u002F5.nodes\u002Fftp_download",{"title":551,"path":552,"stem":553},"FTP List","\u002Fdocs\u002Fnodes\u002Fftp_list","docs\u002F5.nodes\u002Fftp_list",{"title":555,"path":556,"stem":557},"FTP Upload","\u002Fdocs\u002Fnodes\u002Fftp_upload","docs\u002F5.nodes\u002Fftp_upload",{"title":559,"path":560,"stem":561},"HTTP DELETE","\u002Fdocs\u002Fnodes\u002Fhttp_delete","docs\u002F5.nodes\u002Fhttp_delete",{"title":563,"path":564,"stem":565},"HTTP GET","\u002Fdocs\u002Fnodes\u002Fhttp_get","docs\u002F5.nodes\u002Fhttp_get",{"title":567,"path":568,"stem":569},"HTTP POST","\u002Fdocs\u002Fnodes\u002Fhttp_post","docs\u002F5.nodes\u002Fhttp_post",{"title":571,"path":572,"stem":573},"HTTP PUT","\u002Fdocs\u002Fnodes\u002Fhttp_put","docs\u002F5.nodes\u002Fhttp_put",{"title":575,"path":576,"stem":577},"HTTP Request","\u002Fdocs\u002Fnodes\u002Fhttp_request","docs\u002F5.nodes\u002Fhttp_request",{"title":579,"path":580,"stem":581},"Fill Translations","\u002Fdocs\u002Fnodes\u002Fi18n_fill-translations","docs\u002F5.nodes\u002Fi18n_fill-translations",{"title":583,"path":584,"stem":585},"Resolve Locale","\u002Fdocs\u002Fnodes\u002Fi18n_resolve-locale","docs\u002F5.nodes\u002Fi18n_resolve-locale",{"title":587,"path":588,"stem":589},"Translate","\u002Fdocs\u002Fnodes\u002Fi18n_translate","docs\u002F5.nodes\u002Fi18n_translate",{"title":591,"path":592,"stem":593},"Mongo AGGREGATE","\u002Fdocs\u002Fnodes\u002Fmongoops_aggregate","docs\u002F5.nodes\u002Fmongoops_aggregate",{"title":595,"path":596,"stem":597},"Mongo DELETE","\u002Fdocs\u002Fnodes\u002Fmongoops_delete","docs\u002F5.nodes\u002Fmongoops_delete",{"title":599,"path":600,"stem":601},"Mongo FIND","\u002Fdocs\u002Fnodes\u002Fmongoops_find","docs\u002F5.nodes\u002Fmongoops_find",{"title":603,"path":604,"stem":605},"Mongo FIND ONE","\u002Fdocs\u002Fnodes\u002Fmongoops_find-one","docs\u002F5.nodes\u002Fmongoops_find-one",{"title":607,"path":608,"stem":609},"Mongo INSERT","\u002Fdocs\u002Fnodes\u002Fmongoops_insert","docs\u002F5.nodes\u002Fmongoops_insert",{"title":611,"path":612,"stem":613},"Mongo UPDATE","\u002Fdocs\u002Fnodes\u002Fmongoops_update","docs\u002F5.nodes\u002Fmongoops_update",{"title":615,"path":616,"stem":617},"Postgres COPY FROM","\u002Fdocs\u002Fnodes\u002Fpostgres_copy-from","docs\u002F5.nodes\u002Fpostgres_copy-from",{"title":619,"path":620,"stem":621},"Postgres Exec","\u002Fdocs\u002Fnodes\u002Fpostgres_exec","docs\u002F5.nodes\u002Fpostgres_exec",{"title":623,"path":624,"stem":625},"Postgres Query","\u002Fdocs\u002Fnodes\u002Fpostgres_query","docs\u002F5.nodes\u002Fpostgres_query",{"title":627,"path":628,"stem":629},"Postgres Transaction","\u002Fdocs\u002Fnodes\u002Fpostgres_transaction","docs\u002F5.nodes\u002Fpostgres_transaction",{"title":631,"path":632,"stem":633},"RabbitMQ Consume","\u002Fdocs\u002Fnodes\u002Frabbitmq_consume","docs\u002F5.nodes\u002Frabbitmq_consume",{"title":635,"path":636,"stem":637},"RabbitMQ Declare","\u002Fdocs\u002Fnodes\u002Frabbitmq_declare","docs\u002F5.nodes\u002Frabbitmq_declare",{"title":639,"path":640,"stem":641},"RabbitMQ Publish","\u002Fdocs\u002Fnodes\u002Frabbitmq_publish","docs\u002F5.nodes\u002Frabbitmq_publish",{"title":643,"path":644,"stem":645},"Auth Login","\u002Fdocs\u002Fnodes\u002Fredelay_auth-login","docs\u002F5.nodes\u002Fredelay_auth-login",{"title":647,"path":648,"stem":649},"Require Permission","\u002Fdocs\u002Fnodes\u002Fredelay_auth-require-permission","docs\u002F5.nodes\u002Fredelay_auth-require-permission",{"title":651,"path":652,"stem":653},"Validate Token","\u002Fdocs\u002Fnodes\u002Fredelay_auth-validate-token","docs\u002F5.nodes\u002Fredelay_auth-validate-token",{"title":655,"path":656,"stem":657},"Render Email Template","\u002Fdocs\u002Fnodes\u002Fredelay_email-render-template","docs\u002F5.nodes\u002Fredelay_email-render-template",{"title":659,"path":660,"stem":661},"Send Email","\u002Fdocs\u002Fnodes\u002Fredelay_email-send","docs\u002F5.nodes\u002Fredelay_email-send",{"title":663,"path":664,"stem":665},"Send Templated Email","\u002Fdocs\u002Fnodes\u002Fredelay_email-send-templated","docs\u002F5.nodes\u002Fredelay_email-send-templated",{"title":667,"path":668,"stem":669},"Event Source","\u002Fdocs\u002Fnodes\u002Fredelay_event-source","docs\u002F5.nodes\u002Fredelay_event-source",{"title":671,"path":672,"stem":673},"Create Group","\u002Fdocs\u002Fnodes\u002Fredelay_groups-create-group","docs\u002F5.nodes\u002Fredelay_groups-create-group",{"title":675,"path":676,"stem":677},"Delete Group","\u002Fdocs\u002Fnodes\u002Fredelay_groups-delete-group","docs\u002F5.nodes\u002Fredelay_groups-delete-group",{"title":679,"path":680,"stem":681},"Resolve Permissions","\u002Fdocs\u002Fnodes\u002Fredelay_groups-resolve-permissions","docs\u002F5.nodes\u002Fredelay_groups-resolve-permissions",{"title":683,"path":684,"stem":685},"Update Group","\u002Fdocs\u002Fnodes\u002Fredelay_groups-update-group","docs\u002F5.nodes\u002Fredelay_groups-update-group",{"title":687,"path":688,"stem":689},"HTTP Endpoint","\u002Fdocs\u002Fnodes\u002Fredelay_http-endpoint","docs\u002F5.nodes\u002Fredelay_http-endpoint",{"title":691,"path":692,"stem":693},"JSON Stream Source","\u002Fdocs\u002Fnodes\u002Fredelay_json-stream-source","docs\u002F5.nodes\u002Fredelay_json-stream-source",{"title":695,"path":696,"stem":697},"JSON → Event","\u002Fdocs\u002Fnodes\u002Fredelay_json-to-event","docs\u002F5.nodes\u002Fredelay_json-to-event",{"title":699,"path":700,"stem":701},"Kafka Produce","\u002Fdocs\u002Fnodes\u002Fredelay_kafka-produce","docs\u002F5.nodes\u002Fredelay_kafka-produce",{"title":703,"path":704,"stem":705},"Create Short Link","\u002Fdocs\u002Fnodes\u002Fredelay_links-create","docs\u002F5.nodes\u002Fredelay_links-create",{"title":707,"path":708,"stem":709},"Delete Short Link","\u002Fdocs\u002Fnodes\u002Fredelay_links-delete","docs\u002F5.nodes\u002Fredelay_links-delete",{"title":711,"path":712,"stem":713},"Resolve Short Link","\u002Fdocs\u002Fnodes\u002Fredelay_links-resolve","docs\u002F5.nodes\u002Fredelay_links-resolve",{"title":715,"path":716,"stem":717},"LLM Chat","\u002Fdocs\u002Fnodes\u002Fredelay_llm-chat","docs\u002F5.nodes\u002Fredelay_llm-chat",{"title":719,"path":720,"stem":721},"LLM Embed","\u002Fdocs\u002Fnodes\u002Fredelay_llm-embed","docs\u002F5.nodes\u002Fredelay_llm-embed",{"title":723,"path":724,"stem":725},"LLM Guard","\u002Fdocs\u002Fnodes\u002Fredelay_llm-guard","docs\u002F5.nodes\u002Fredelay_llm-guard",{"title":727,"path":728,"stem":729},"LLM Tool Router","\u002Fdocs\u002Fnodes\u002Fredelay_llm-tool-router","docs\u002F5.nodes\u002Fredelay_llm-tool-router",{"title":731,"path":732,"stem":733},"NATS Publish","\u002Fdocs\u002Fnodes\u002Fredelay_nats-publish","docs\u002F5.nodes\u002Fredelay_nats-publish",{"title":735,"path":736,"stem":737},"Mark Notification Read","\u002Fdocs\u002Fnodes\u002Fredelay_notifications-mark-read","docs\u002F5.nodes\u002Fredelay_notifications-mark-read",{"title":739,"path":740,"stem":741},"Send Notification","\u002Fdocs\u002Fnodes\u002Fredelay_notifications-send","docs\u002F5.nodes\u002Fredelay_notifications-send",{"title":743,"path":744,"stem":745},"Redis Stream XADD","\u002Fdocs\u002Fnodes\u002Fredelay_redis-stream-publish","docs\u002F5.nodes\u002Fredelay_redis-stream-publish",{"title":747,"path":748,"stem":749},"S3 Copy Object","\u002Fdocs\u002Fnodes\u002Fredelay_s3-copy-object","docs\u002F5.nodes\u002Fredelay_s3-copy-object",{"title":751,"path":752,"stem":753},"S3 Delete Many","\u002Fdocs\u002Fnodes\u002Fredelay_s3-delete-many","docs\u002F5.nodes\u002Fredelay_s3-delete-many",{"title":755,"path":756,"stem":757},"S3 Head Object","\u002Fdocs\u002Fnodes\u002Fredelay_s3-head-object","docs\u002F5.nodes\u002Fredelay_s3-head-object",{"title":759,"path":760,"stem":761},"S3 List Objects","\u002Fdocs\u002Fnodes\u002Fredelay_s3-list-objects","docs\u002F5.nodes\u002Fredelay_s3-list-objects",{"title":763,"path":764,"stem":765},"Create Schedule","\u002Fdocs\u002Fnodes\u002Fredelay_scheduler-create-schedule","docs\u002F5.nodes\u002Fredelay_scheduler-create-schedule",{"title":767,"path":768,"stem":769},"Cron Trigger","\u002Fdocs\u002Fnodes\u002Fredelay_scheduler-cron-trigger","docs\u002F5.nodes\u002Fredelay_scheduler-cron-trigger",{"title":771,"path":772,"stem":773},"Delete Schedule","\u002Fdocs\u002Fnodes\u002Fredelay_scheduler-delete-schedule","docs\u002F5.nodes\u002Fredelay_scheduler-delete-schedule",{"title":775,"path":776,"stem":777},"Interval Trigger","\u002Fdocs\u002Fnodes\u002Fredelay_scheduler-interval-trigger","docs\u002F5.nodes\u002Fredelay_scheduler-interval-trigger",{"title":779,"path":780,"stem":781},"Search Query","\u002Fdocs\u002Fnodes\u002Fredelay_search-query","docs\u002F5.nodes\u002Fredelay_search-query",{"title":783,"path":784,"stem":785},"Search Upsert","\u002Fdocs\u002Fnodes\u002Fredelay_search-upsert","docs\u002F5.nodes\u002Fredelay_search-upsert",{"title":787,"path":788,"stem":789},"Delete Setting","\u002Fdocs\u002Fnodes\u002Fredelay_settings-delete","docs\u002F5.nodes\u002Fredelay_settings-delete",{"title":791,"path":792,"stem":793},"Get Setting","\u002Fdocs\u002Fnodes\u002Fredelay_settings-get","docs\u002F5.nodes\u002Fredelay_settings-get",{"title":795,"path":796,"stem":797},"Set Setting","\u002Fdocs\u002Fnodes\u002Fredelay_settings-set","docs\u002F5.nodes\u002Fredelay_settings-set",{"title":799,"path":800,"stem":801},"Delete File","\u002Fdocs\u002Fnodes\u002Fredelay_storage-delete","docs\u002F5.nodes\u002Fredelay_storage-delete",{"title":803,"path":804,"stem":805},"Download File","\u002Fdocs\u002Fnodes\u002Fredelay_storage-download","docs\u002F5.nodes\u002Fredelay_storage-download",{"title":807,"path":808,"stem":809},"Generate Presigned URL","\u002Fdocs\u002Fnodes\u002Fredelay_storage-presign-url","docs\u002F5.nodes\u002Fredelay_storage-presign-url",{"title":811,"path":812,"stem":813},"Upload File","\u002Fdocs\u002Fnodes\u002Fredelay_storage-upload","docs\u002F5.nodes\u002Fredelay_storage-upload",{"title":815,"path":816,"stem":817},"Subworkflow","\u002Fdocs\u002Fnodes\u002Fredelay_subworkflow","docs\u002F5.nodes\u002Fredelay_subworkflow",{"title":819,"path":820,"stem":821},"Activate User","\u002Fdocs\u002Fnodes\u002Fredelay_users-activate","docs\u002F5.nodes\u002Fredelay_users-activate",{"title":823,"path":824,"stem":825},"Create Pending User","\u002Fdocs\u002Fnodes\u002Fredelay_users-create-pending","docs\u002F5.nodes\u002Fredelay_users-create-pending",{"title":827,"path":828,"stem":829},"Create User","\u002Fdocs\u002Fnodes\u002Fredelay_users-create-user","docs\u002F5.nodes\u002Fredelay_users-create-user",{"title":831,"path":832,"stem":833},"Delete User","\u002Fdocs\u002Fnodes\u002Fredelay_users-delete-user","docs\u002F5.nodes\u002Fredelay_users-delete-user",{"title":835,"path":836,"stem":837},"Find User By Email","\u002Fdocs\u002Fnodes\u002Fredelay_users-find-by-email","docs\u002F5.nodes\u002Fredelay_users-find-by-email",{"title":839,"path":840,"stem":841},"Get User","\u002Fdocs\u002Fnodes\u002Fredelay_users-get-user","docs\u002F5.nodes\u002Fredelay_users-get-user",{"title":843,"path":844,"stem":845},"List Users","\u002Fdocs\u002Fnodes\u002Fredelay_users-list-users","docs\u002F5.nodes\u002Fredelay_users-list-users",{"title":847,"path":848,"stem":849},"Update User","\u002Fdocs\u002Fnodes\u002Fredelay_users-update-user","docs\u002F5.nodes\u002Fredelay_users-update-user",{"title":851,"path":852,"stem":853},"Request Email Verification (legacy)","\u002Fdocs\u002Fnodes\u002Fredelay_verification-request","docs\u002F5.nodes\u002Fredelay_verification-request",{"title":855,"path":856,"stem":857},"Request Email Verification","\u002Fdocs\u002Fnodes\u002Fredelay_verification-request-email","docs\u002F5.nodes\u002Fredelay_verification-request-email",{"title":859,"path":860,"stem":861},"Request SMS Verification","\u002Fdocs\u002Fnodes\u002Fredelay_verification-request-sms","docs\u002F5.nodes\u002Fredelay_verification-request-sms",{"title":863,"path":864,"stem":865},"Verify Token","\u002Fdocs\u002Fnodes\u002Fredelay_verification-verify","docs\u002F5.nodes\u002Fredelay_verification-verify",{"title":867,"path":868,"stem":869},"Redis DEL","\u002Fdocs\u002Fnodes\u002Fredisops_del","docs\u002F5.nodes\u002Fredisops_del",{"title":871,"path":872,"stem":873},"Redis EXPIRE","\u002Fdocs\u002Fnodes\u002Fredisops_expire","docs\u002F5.nodes\u002Fredisops_expire",{"title":875,"path":876,"stem":877},"Redis GET","\u002Fdocs\u002Fnodes\u002Fredisops_get","docs\u002F5.nodes\u002Fredisops_get",{"title":879,"path":880,"stem":881},"Redis HGET","\u002Fdocs\u002Fnodes\u002Fredisops_hget","docs\u002F5.nodes\u002Fredisops_hget",{"title":883,"path":884,"stem":885},"Redis HSET","\u002Fdocs\u002Fnodes\u002Fredisops_hset","docs\u002F5.nodes\u002Fredisops_hset",{"title":887,"path":888,"stem":889},"Redis INCR","\u002Fdocs\u002Fnodes\u002Fredisops_incr","docs\u002F5.nodes\u002Fredisops_incr",{"title":891,"path":892,"stem":893},"Redis LPOP","\u002Fdocs\u002Fnodes\u002Fredisops_lpop","docs\u002F5.nodes\u002Fredisops_lpop",{"title":895,"path":896,"stem":897},"Redis LPUSH","\u002Fdocs\u002Fnodes\u002Fredisops_lpush","docs\u002F5.nodes\u002Fredisops_lpush",{"title":899,"path":900,"stem":901},"Redis PUBLISH","\u002Fdocs\u002Fnodes\u002Fredisops_publish","docs\u002F5.nodes\u002Fredisops_publish",{"title":903,"path":904,"stem":905},"Redis SET","\u002Fdocs\u002Fnodes\u002Fredisops_set","docs\u002F5.nodes\u002Fredisops_set",{"title":907,"path":908,"stem":909},"SFTP Download","\u002Fdocs\u002Fnodes\u002Fsftp_download","docs\u002F5.nodes\u002Fsftp_download",{"title":911,"path":912,"stem":913},"SFTP Upload","\u002Fdocs\u002Fnodes\u002Fsftp_upload","docs\u002F5.nodes\u002Fsftp_upload",{"title":915,"path":916,"stem":917},"Send SMS","\u002Fdocs\u002Fnodes\u002Fsms_send","docs\u002F5.nodes\u002Fsms_send",{"title":919,"path":920,"stem":921,"children":922,"page":62},"Rfcs","\u002Fdocs\u002Frfcs","docs\u002F6.rfcs",[923,927],{"title":924,"path":925,"stem":926},"RFC 0001 — Worker Assignment for Flow Deployments","\u002Fdocs\u002Frfcs\u002F0001-worker-assignment","docs\u002F6.rfcs\u002F0001-worker-assignment",{"title":928,"path":929,"stem":930},"RFC 0002 — Writes While a Member's Home Region Is Down","\u002Fdocs\u002Frfcs\u002F0002-home-region-outage","docs\u002F6.rfcs\u002F0002-home-region-outage",{"title":932,"path":933,"stem":934,"children":935,"page":62},"Admin","\u002Fdocs\u002Fadmin","docs\u002F7.admin",[936,941,946,951,956,961,966,970,975],{"title":5,"path":937,"stem":938,"order":939,"icon":940},"\u002Fdocs\u002Fadmin\u002Foverview","docs\u002F7.admin\u002F00.overview",0,"i-lucide-compass",{"title":942,"path":943,"stem":944,"order":10,"icon":945},"Getting started","\u002Fdocs\u002Fadmin\u002Fgetting-started","docs\u002F7.admin\u002F01.getting-started","i-lucide-play",{"title":947,"path":948,"stem":949,"order":16,"icon":950},"Layered architecture","\u002Fdocs\u002Fadmin\u002Flayered-architecture","docs\u002F7.admin\u002F02.layered-architecture","i-lucide-layers",{"title":952,"path":953,"stem":954,"order":22,"icon":955},"Building a custom admin project","\u002Fdocs\u002Fadmin\u002Fbuilding-a-custom-admin-project","docs\u002F7.admin\u002F03.building-a-custom-admin-project","i-lucide-folder-plus",{"title":957,"path":958,"stem":959,"order":51,"icon":960},"Building admin modules","\u002Fdocs\u002Fadmin\u002Fbuilding-admin-modules","docs\u002F7.admin\u002F04.building-admin-modules","i-lucide-package-plus",{"title":962,"path":963,"stem":964,"order":57,"icon":965},"Base module reference","\u002Fdocs\u002Fadmin\u002Freference-base-modules","docs\u002F7.admin\u002F05.reference-base-modules","i-lucide-boxes",{"title":967,"path":968,"stem":969,"order":111,"icon":17},"Deployment","\u002Fdocs\u002Fadmin\u002Fdeployment","docs\u002F7.admin\u002F06.deployment",{"title":971,"path":972,"stem":973,"order":117,"icon":974},"Consuming the base layer (versioned)","\u002Fdocs\u002Fadmin\u002Fconsuming-the-base-layer","docs\u002F7.admin\u002F07.consuming-the-base-layer","i-lucide-package",{"title":976,"path":977,"stem":978,"order":117},"Admin UI","\u002Fdocs\u002Fadmin\u002F_dir","docs\u002F7.admin\u002F_dir",{"title":980,"path":981,"stem":982,"children":983,"page":62},"Services","\u002Fdocs\u002Fservices","docs\u002F8.services",[984,989],{"title":985,"path":986,"stem":987,"order":10,"icon":988},"Custom development & support services","\u002Fdocs\u002Fservices\u002Fcustom-development","docs\u002F8.services\u002F1.custom-development","i-lucide-briefcase",{"title":980,"path":990,"stem":991,"icon":988,"order":992},"\u002Fdocs\u002Fservices\u002F_dir","docs\u002F8.services\u002F_dir",80,{"title":994,"path":995,"stem":996,"order":939},"Dir","\u002Fdocs\u002F_dir","docs\u002F_dir",{"id":998,"title":928,"body":999,"description":1374,"extension":2327,"links":2328,"meta":2329,"navigation":2333,"path":929,"seo":2334,"stem":930,"__hash__":2335},"docs\u002Fdocs\u002F6.rfcs\u002F0002-home-region-outage.md",{"type":1000,"value":1001,"toc":2306},"minimark",[1002,1007,1012,1026,1034,1052,1059,1064,1069,1103,1108,1118,1123,1141,1145,1231,1235,1275,1279,1286,1347,1354,1365,1375,1380,1431,1457,1462,1531,1545,1556,1560,1571,1584,1587,1626,1630,1742,1746,1790,1794,1797,1890,1896,1907,1914,1928,1931,1939,1943,1980,1984,2012,2015,2036,2041,2075,2078,2160,2164,2276,2280],[1003,1004,1006],"h1",{"id":1005},"writes-while-a-members-home-region-is-down","Writes While a Member's Home Region Is Down",[1008,1009,1011],"h2",{"id":1010},"problem","Problem",[1013,1014,1015,1016,1020,1021,1025],"p",{},"Home regions (see ",[1017,1018,298],"a",{"href":1019},"\u002Fdocs\u002Freference\u002Fregions#adopting",") put each member's\nown rows on the shard of their home region, zone-sharded on\n",[1022,1023,1024],"code",{},"{home_region, user_id}",". That is what makes an NA member's writes commit in NA.",[1013,1027,1028,1029,1033],{},"It also means that ",[1030,1031,1032],"strong",{},"while a region is down, nobody can write its members'\nrows",", wherever the request lands:",[1035,1036,1037,1049],"ul",{},[1038,1039,1040,1041,1044,1045,1048],"li",{},"The app fails over to the other region's API (",[1022,1042,1043],{},"REGION_API_URLS"," + ",[1022,1046,1047],{},"GET \u002Fregion",").",[1038,1050,1051],{},"But mongos still routes the write to the home shard, which has no primary.",[1013,1053,1054,1055,1058],{},"The case that must keep working is a Gymmer member ",[1030,1056,1057],{},"logging a workout","\nduring the outage, with the workout reaching their home region once it is back.",[1060,1061,1063],"h3",{"id":1062},"where-we-are-checked-2026-10-18","Where we are (checked 2026-10-18)",[1013,1065,1066],{},[1030,1067,1068],{},"Nameniac:",[1035,1070,1071,1096],{},[1038,1072,1073,1074,1077,1078,1080,1081,1084,1085,1084,1088,1095],{},"Its 7 member collections ",[1030,1075,1076],{},"are"," sharded on ",[1022,1079,1024],{}," (since\n2026-10-17), with zones ",[1022,1082,1083],{},"eu"," and ",[1022,1086,1087],{},"global",[1030,1089,1090,1091,1094],{},"no ",[1022,1092,1093],{},"na"," range",".",[1038,1097,1098,1099,1102],{},"So an NA-homed row still lands on ",[1022,1100,1101],{},"ifmrs"," (EU), and an NA outage costs\nNameniac nothing today.",[1013,1104,1105],{},[1030,1106,1107],{},"Gymmer:",[1035,1109,1110,1113],{},[1038,1111,1112],{},"Shards now, after gobackend #120\u002F#125, with no chunk moves (Igor, 2026-10-18).",[1038,1114,1115,1116,1095],{},"Backend registration is OFF and the website is prelaunch, so no NA member can\nbe created. All 4 members are ",[1022,1117,1083],{},[1013,1119,1120],{},[1030,1121,1122],{},"The gate is NA members existing, on a region with its own range.",[1035,1124,1125,1133,1138],{},[1038,1126,1127,1129,1130,1132],{},[1030,1128,1068],{}," do not add the ",[1022,1131,1093],{}," zone range (P4.7) until this ships.",[1038,1134,1135,1137],{},[1030,1136,1107],{}," do not turn registration on for NA (or open NA sign-up) until\nthis ships.",[1038,1139,1140],{},"Until then, NA-homed rows either don't exist or commit in EU, and an NA\noutage costs only latency.",[1060,1142,1144],{"id":1143},"topology-the-design-relies-on-live-today","Topology the design relies on (live today)",[1146,1147,1148,1164],"table",{},[1149,1150,1151],"thead",{},[1152,1153,1154,1158,1161],"tr",{},[1155,1156,1157],"th",{},"Replica set",[1155,1159,1160],{},"Members",[1155,1162,1163],{},"When a region is down",[1165,1166,1167,1189,1202,1216],"tbody",{},[1152,1168,1169,1176,1182],{},[1170,1171,1172,1175],"td",{},[1022,1173,1174],{},"rs-na"," (NA shard)",[1170,1177,1178,1179],{},"yul (priority 2), amer (1), ",[1030,1180,1181],{},"waw (0, voting)",[1170,1183,1184,1185,1188],{},"NA down → no primary; ",[1030,1186,1187],{},"waw keeps a readable copy"," in a third failure domain, at about EU latency",[1152,1190,1191,1196,1199],{},[1170,1192,1193,1195],{},[1022,1194,1101],{}," (EU\u002Fglobal shard)",[1170,1197,1198],{},"EU voters + amer, yul and waw copies",[1170,1200,1201],{},"EU down → no primary; NA members hold readable copies",[1152,1203,1204,1210,1213],{},[1170,1205,1206,1209],{},[1022,1207,1208],{},"csrs"," (config)",[1170,1211,1212],{},"hel\u002Femea\u002Famer\u002Fyul\u002Fwaw, 1 vote each (priority 2\u002F1\u002F0.5\u002F0\u002F0)",[1170,1214,1215],{},"either region down → still a majority (EU down: amer\u002Fyul\u002Fwaw = 3 of 5 → amer primary)",[1152,1217,1218,1225,1228],{},[1170,1219,1220,1221,1224],{},"Coordinator (",[1022,1222,1223],{},"redis-fp",")",[1170,1226,1227],{},"three failure domains",[1170,1229,1230],{},"every slot served with any one domain down (drilled 2026-10-17\u002F18)",[1008,1232,1234],{"id":1233},"principles","Principles",[1236,1237,1238,1247,1257,1263,1269],"ol",{},[1038,1239,1240,1243,1244,1246],{},[1030,1241,1242],{},"Never re-home during an outage."," Moving a member would need their home\nrows, which are unreachable, and would break the uniqueness of\n",[1022,1245,1024],{}," singletons when the region returns. The home\nregion only changes through the normal migration path, with both regions up.",[1038,1248,1249,1252,1253,1256],{},[1030,1250,1251],{},"Accept only writes that can be replayed exactly."," These are parked in the\nserving region and applied at home later. Every other write fails fast with\na typed error (",[1022,1254,1255],{},"ErrHomeRegionUnavailable","): HTTP 503 for clients, a retry\nfor consumers.",[1038,1258,1259,1262],{},[1030,1260,1261],{},"Replay is idempotent and ordered per member."," Applying a parked write\ntwice, or after a newer write, must not change the result.",[1038,1264,1265,1268],{},[1030,1266,1267],{},"Every side effect happens once, at replay:"," domain events, analytics\n(ClickHouse), folds. That is when the data is at home. Nothing derived from\na spooled write runs at spool time.",[1038,1270,1271,1274],{},[1030,1272,1273],{},"Background writers wait; they don't give up."," Work that touches an\nunavailable home is retried until the region returns. It is never\ndead-lettered because of the outage.",[1008,1276,1278],{"id":1277},"design","Design",[1060,1280,1282,1283],{"id":1281},"_1-knowing-the-home-region-is-down-regionhomeavailable","1. Knowing the home region is down — ",[1022,1284,1285],{},"region.HomeAvailable",[1035,1287,1288,1298,1308,1318,1334,1344],{},[1038,1289,1290,1291,1294,1295,1095],{},"Add a per-region circuit breaker in ",[1022,1292,1293],{},"runtime\u002Fregion",", fed by the errors that\nowned writes and reads get from mongos: no primary for the shard, shard\nunreachable, network timeout, ",[1022,1296,1297],{},"FailedToSatisfyReadPreference",[1038,1299,1300,1303,1304,1307],{},[1030,1301,1302],{},"Open"," after N failures within a window. ",[1030,1305,1306],{},"Half-open"," probe every 5 s\nwith a cheap owned read.",[1038,1309,1310,1313,1314,1317],{},[1030,1311,1312],{},"Owned operations carry a short deadline"," (",[1022,1315,1316],{},"maxTimeMS"," \u002F client-side\noperation timeout, around 2 s). mongos otherwise spends its own\nreplica-set-monitor wait on a primary-less shard (15–30 s) before it errors,\nand every request would pay that before the breaker learns.",[1038,1319,1320,1323],{},[1030,1321,1322],{},"Local first, shared second.",[1035,1324,1325,1328,1331],{},[1038,1326,1327],{},"Each replica's own breaker is authoritative.",[1038,1329,1330],{},"The Coordinator flag only makes the others open sooner.",[1038,1332,1333],{},"In an Atlantic split, each side trusts its local breaker; the shared flag\nis advisory.",[1038,1335,1336,1337,1340,1341,1095],{},"Metrics: ",[1022,1338,1339],{},"region_home_available{region}"," and\n",[1022,1342,1343],{},"region_breaker_transitions_total{region,to}",[1038,1345,1346],{},"Alert: a region open for more than 2 minutes.",[1060,1348,1350,1351],{"id":1349},"_2-parking-writes-runtimemongospool","2. Parking writes — ",[1022,1352,1353],{},"runtime\u002Fmongo\u002Fspool",[1013,1355,1356,1357,1360,1361,1364],{},"A ",[1022,1358,1359],{},"region_spool"," collection, stamped with the ",[1030,1362,1363],{},"serving"," region, so it is\nalways writable where the request landed.",[1366,1367,1372],"pre",{"className":1368,"code":1370,"language":1371},[1369],"language-text","{ _id: \u003Cop_id>,                 \u002F\u002F idempotency key — the client's op id\n  home_region: \"eu\",            \u002F\u002F where the spool row lives (serving region)\n  owner_home: \"na\",             \u002F\u002F the member's home — where it must land\n  user_id, seq,                 \u002F\u002F per-member order (serving-side counter)\n  coll, kind, filter, doc,      \u002F\u002F the write, see \"spool-safe writes\"\n  created_at, attempts, last_error }\n","text",[1022,1373,1370],{"__ignoreMap":1374},"",[1013,1376,1377],{},[1030,1378,1379],{},"Two ways to spool:",[1236,1381,1382,1391],{},[1038,1383,1384,1387,1388,1095],{},[1030,1385,1386],{},"A crud write kind",", from the table below, for simple writes:\n",[1022,1389,1390],{},"crud.WithSpool(kinds…)",[1038,1392,1393,1396,1397,1400,1401,1404,1405,1408,1409,1412,1413],{},[1030,1394,1395],{},"A registered domain command",", for writes whose real path does more than\none insert. Example: Gymmer's ",[1022,1398,1399],{},"SyncOps"," reads the session and the owner's\nregion, does ",[1022,1402,1403],{},"$inc op_seq",", inserts, then folds (",[1022,1406,1407],{},"StartIfPlanned",",\n",[1022,1410,1411],{},"ApplyFold",", ClickHouse analytics).\n",[1035,1414,1415,1421,1428],{},[1038,1416,1417,1418,1095],{},"The spool stores ",[1022,1419,1420],{},"{command, payload}",[1038,1422,1423,1424,1427],{},"Replay calls the handler registered with ",[1022,1425,1426],{},"spool.Register(command, fn)",",\nthe same code path the request would have run at home.",[1038,1429,1430],{},"Replaying a raw insert there would skip the fold and the analytics.",[1013,1432,1433,1436,1437,1441,1442,1445,1446,1449,1450,1453,1454,1095],{},[1030,1434,1435],{},"The spool key is the caller's idempotency key, not a bare op id."," Gymmer op\nids are unique per ",[1438,1439,1440],"em",{},"session"," (unique index ",[1022,1443,1444],{},"{session_id, op_id}","), so the key\nis ",[1022,1447,1448],{},"hash(collection, session_id, op_id)",". Generally: hash the fields of the\ntarget's unique index. A duplicate on that index at replay means \"already\napplied\". That is also why a unique index other than ",[1022,1451,1452],{},"_id"," is fine ",[1438,1455,1456],{},"when the\nspool key covers it",[1013,1458,1459,1460,1095],{},"Anything not spoolable returns ",[1022,1461,1255],{},[1146,1463,1464,1477],{},[1149,1465,1466],{},[1152,1467,1468,1471,1474],{},[1155,1469,1470],{},"Kind",[1155,1472,1473],{},"Example",[1155,1475,1476],{},"Why replay is exact",[1165,1478,1479,1496,1514],{},[1152,1480,1481,1490,1493],{},[1170,1482,1483,1486,1487,1489],{},[1022,1484,1485],{},"insert"," with a client-supplied ",[1022,1488,1452],{}," \u002F op id",[1170,1491,1492],{},"workout op log, events, check-ins",[1170,1494,1495],{},"duplicate key on replay = already applied",[1152,1497,1498,1508,1511],{},[1170,1499,1500,1503,1504,1507],{},[1022,1501,1502],{},"upsert"," with ",[1022,1505,1506],{},"$setOnInsert"," only",[1170,1509,1510],{},"create-if-absent singletons",[1170,1512,1513],{},"second apply is a no-op",[1152,1515,1516,1525,1528],{},[1170,1517,1518,1521,1522],{},[1022,1519,1520],{},"set"," guarded by a version \u002F ",[1022,1523,1524],{},"updated_at",[1170,1526,1527],{},"preferences, profile fields",[1170,1529,1530],{},"applied only if newer than the stored version (LWW)",[1013,1532,1533,1536,1537,1540,1541,1544],{},[1030,1534,1535],{},"Not spool-safe"," (rejected during the outage): plain ",[1022,1538,1539],{},"$inc",", array pushes\nwithout an op id, deletes, and anything that reads-then-writes across documents\nor sits under a unique index the spool key doesn't cover. Rejecting these is\ncorrect; the client retries after ",[1022,1542,1543],{},"Retry-After",". A registered command may do\nany of these, because it runs the full domain path at home.",[1013,1546,1547,1548,1551,1552,1555],{},"Nameniac example: favourite add is an upsert under a unique\n",[1022,1549,1550],{},"{home_region, user_id, domain}",", unfavourite is a delete, and prefs have no\nversion. So all Nameniac member writes get the 503, which is right for its\nvolume. A deterministic ",[1022,1553,1554],{},"_id = hash(user, domain)"," would make favourite-add\nspool-safe later if wanted.",[1060,1557,1559],{"id":1558},"_3-background-writers-consumers-and-jobs","3. Background writers — consumers and jobs",[1013,1561,1562,1563,1566,1567,1570],{},"Consumers and scheduled jobs write members' rows too (Nameniac's worker:\n",[1022,1564,1565],{},"site_radar_hits",", ",[1022,1568,1569],{},"site_alert_log","; Gymmer has its own).",[1013,1572,1573,1576,1577,1580,1581,1095],{},[1030,1574,1575],{},"The risk:"," since go-events v0.7.0, a handler that keeps failing is\ndead-lettered after ",[1022,1578,1579],{},"EVENTS_MAX_DELIVERIES"," (~9 minutes). An outage longer than\nthat would move real work to ",[1022,1582,1583],{},"\u003Ctopic>.dlq",[1013,1585,1586],{},"The rule:",[1035,1588,1589,1611,1617,1623],{},[1038,1590,1591,1596],{},[1030,1592,1593,1595],{},[1022,1594,1255],{}," is a retry that doesn't count a delivery.",[1035,1597,1598,1605,1608],{},[1038,1599,1600,1601,1604],{},"go-events classifies it (",[1022,1602,1603],{},"errors.Is",") and redelivers with the normal\nbackoff, capped at the breaker's probe interval.",[1038,1606,1607],{},"It does not increment the delivery count, so the message never reaches\nthe DLQ because of an outage.",[1038,1609,1610],{},"The bus must not loop hot on a long outage.",[1038,1612,1613,1616],{},[1030,1614,1615],{},"Optional, per consumer:"," use the spool instead, for consumer writes that\nare spool-safe by the table above. The handler then acks at once.",[1038,1618,1619,1622],{},[1030,1620,1621],{},"Scheduled jobs"," that touch owned rows treat the error as \"skip this\nmember, retry next run\", never as a job failure.",[1038,1624,1625],{},"Pausing whole consumer groups while the breaker is open was considered.\nRejected: one group usually serves members of both regions.",[1060,1627,1629],{"id":1628},"_4-replaying-the-spool-relay","4. Replaying — the spool relay",[1035,1631,1632,1650,1661,1680,1691,1698,1704,1713,1723,1728,1739],{},[1038,1633,1634,1637,1638,1641,1642,1645,1646,1649],{},[1030,1635,1636],{},"One generic relay primitive"," in ",[1022,1639,1640],{},"runtime\u002F"," (leader lock, batch, per-key\norder, attempts, ",[1022,1643,1644],{},"last_error",", pending\u002Foldest gauges), shared by\n",[1022,1647,1648],{},"runtime\u002Foutbox","'s regional relays and the spool relay. Not a second\nhand-rolled loop.",[1038,1651,1652,1653,1656,1657,1660],{},"When ",[1022,1654,1655],{},"HomeAvailable(owner_home)"," closes, the relay drains that home's rows:\nper member, in ",[1022,1658,1659],{},"seq"," order.",[1038,1662,1663,1664,1667,1668],{},"Each row is applied through the ",[1030,1665,1666],{},"same path the request would have taken",":\n",[1035,1669,1670,1677],{},[1038,1671,1672,1673,1676],{},"a crud kind goes through crud (",[1022,1674,1675],{},"OwnFilter",", the owner's home);",[1038,1678,1679],{},"a command goes through its registered handler.",[1038,1681,1682,1683,1686,1687,1690],{},"Where that path writes data and outbox events together, it is a\n",[1030,1684,1685],{},"single-shard transaction on the home shard",". The outbox collection is\nkeyed ",[1022,1688,1689],{},"{home_region, …}"," like member data, so the outbox row sits on the\nsame shard.",[1038,1692,1693,1694,1697],{},"Where the domain deliberately emits after the write, outside a transaction\n(Gymmer's ",[1022,1695,1696],{},"session.completed","), replay keeps that behaviour.",[1038,1699,1700,1703],{},[1030,1701,1702],{},"The spool row is deleted right after that commits, in its own write on\nthe serving shard."," Deleting it inside the transaction would make it a\ncross-Atlantic two-phase commit. A crash between the two is harmless:\nduplicates are a no-op by construction.",[1038,1705,1706,1709,1710,1712],{},[1030,1707,1708],{},"Dependencies replay in order."," Per-member ",[1022,1711,1659],{}," order covers a spooled\nsession start replaying before its ops. While both are spooled, the serving\nregion's own reads must see the spooled start (the overlay, §5), or ops loop\non \"awaiting session\".",[1038,1714,1715,1718,1719,1722],{},[1030,1716,1717],{},"Terminal outcomes are not retried."," If by replay time the target refuses\nthe write for a business reason (Gymmer: the session was finished elsewhere\n→ 409, or access was revoked → 403), the row moves to ",[1022,1720,1721],{},"region_spool_failed","\nwith the reason, and the member\u002Fadmin is told. Only transient errors retry.",[1038,1724,1725,1726,1095],{},"A row failing transiently after K attempts stays put with ",[1022,1727,1644],{},[1038,1729,1336,1730,1566,1733,1408,1736,1095],{},[1022,1731,1732],{},"region_spool_pending{owner_home}",[1022,1734,1735],{},"region_spool_oldest_seconds",[1022,1737,1738],{},"region_spool_failed_total",[1038,1740,1741],{},"Alert: the oldest row is older than 15 minutes after the breaker closes.",[1060,1743,1745],{"id":1744},"_5-reads-during-the-outage","5. Reads during the outage",[1035,1747,1748,1781],{},[1038,1749,1750,1753,1754],{},[1030,1751,1752],{},"Read fallback is already in the topology"," (see the table above).\n",[1035,1755,1756,1766,1772],{},[1038,1757,1758,1759,1761,1762,1765],{},"NA down: ",[1022,1760,1174],{}," keeps a voting, priority-0 copy on waw. ",[1022,1763,1764],{},"rtmongo.Nearest","\n\u002F secondary reads of NA members' rows are served from waw, slightly stale.",[1038,1767,1768,1769,1771],{},"EU down: ",[1022,1770,1101],{}," has copies on amer and yul.",[1038,1773,1774,1777,1778,1780],{},[1030,1775,1776],{},"Decision for Igor:"," accept waw (OVH Warsaw, a third failure domain)\nrather than hel\u002Femea as ",[1022,1779,1174],{},"'s off-region copy. Recommended: yes.",[1038,1782,1783,1786,1787,1789],{},[1030,1784,1785],{},"Read-your-writes overlay:"," for spool-enabled collections, owned list and\nget reads merge the member's spooled rows (union by ",[1022,1788,1452],{},"), so the next\nscreen shows the set the member just logged.",[1060,1791,1793],{"id":1792},"_6-the-symmetric-case-eu-down","6. The symmetric case — EU down",[1013,1795,1796],{},"EU is home to most members, so this is the bigger outage.",[1146,1798,1799,1811],{},[1149,1800,1801],{},[1152,1802,1803,1805,1808],{},[1155,1804],{},[1155,1806,1807],{},"EU down (NA serving)",[1155,1809,1810],{},"NA down (EU serving)",[1165,1812,1813,1832,1842,1863,1878],{},[1152,1814,1815,1818,1827],{},[1170,1816,1817],{},"Members of the down region",[1170,1819,1820,1821,1823,1824,1826],{},"spool-safe writes spooled on ",[1022,1822,1174],{}," (serving region ",[1022,1825,1093],{},"); the rest get 503",[1170,1828,1820,1829,1831],{},[1022,1830,1101],{},"; the rest get 503",[1152,1833,1834,1837,1840],{},[1170,1835,1836],{},"Members of the serving region",[1170,1838,1839],{},"normal",[1170,1841,1839],{},[1152,1843,1844,1852,1861],{},[1170,1845,1846,1849,1850,1224],{},[1030,1847,1848],{},"Global-zone writes"," (catalogue, identity, anything unsharded on ",[1022,1851,1101],{},[1170,1853,1854,1857,1858,1860],{},[1030,1855,1856],{},"all fail",": ",[1022,1859,1101],{}," has no primary in NA",[1170,1862,1839],{},[1152,1864,1865,1868,1873],{},[1170,1866,1867],{},"Reads",[1170,1869,1870,1871],{},"from amer\u002Fyul copies of ",[1022,1872,1101],{},[1170,1874,1875,1876],{},"from waw's copy of ",[1022,1877,1174],{},[1152,1879,1880,1883,1888],{},[1170,1881,1882],{},"Sign-in \u002F token refresh",[1170,1884,1885,1886,1224],{},"fails if identity writes are required (identity stays unsharded on ",[1022,1887,1101],{},[1170,1889,1839],{},[1013,1891,1892,1895],{},[1030,1893,1894],{},"Gymmer screens that degrade while EU is down"," (the Gymmer session to\nconfirm):",[1035,1897,1898,1901,1904],{},[1038,1899,1900],{},"sign-up and sign-in (identity is global);",[1038,1902,1903],{},"catalogue edits (admin);",[1038,1905,1906],{},"anything that writes global collections.",[1013,1908,1909,1910,1913],{},"Today Gymmer's workout sync ",[1030,1911,1912],{},"stops about 30 minutes into an EU outage",":",[1035,1915,1916,1923],{},[1038,1917,1918,1919,1922],{},"Every op append reads the global ",[1022,1920,1921],{},"users"," collection for the owner's region.",[1038,1924,1925,1926,1048],{},"Access tokens last 30 minutes, and refresh is single-use (a write to\nidentity on ",[1022,1927,1101],{},[1013,1929,1930],{},"To keep logging through an EU outage:",[1236,1932,1933,1936],{},[1038,1934,1935],{},"Take the owner's region from somewhere the serving region can read: the\nsession document (ops are already stamped with it) or a token claim, not a\nglobal lookup per append.",[1038,1937,1938],{},"Decide refresh during an EU outage separately: a longer access-token TTL\nfor NA-served requests, or a regional refresh path. This RFC doesn't settle\nit.",[1060,1940,1942],{"id":1941},"_7-migrations-during-an-outage","7. Migrations during an outage",[1035,1944,1945,1958,1971,1977],{},[1038,1946,1947,1950,1951,1957],{},[1022,1948,1949],{},"runModuleMigrations"," failing means boot fails. So during an outage, any\nreplica that restarts with a pending migration touching the down region's\nrows can't boot. That includes deferred rechecks\n(",[1017,1952,1956],{"href":1953,"rel":1954},"https:\u002F\u002Fgithub.com\u002Fredelay\u002Fgo-framework\u002Fpull\u002F11",[1955],"nofollow","go-framework#11","), which\nbecome runnable at a later boot.",[1038,1959,1960,1963,1964,1966,1967,1970],{},[1030,1961,1962],{},"Rule (Nameniac's follow-up to #11, before v0.35.1 is consumed):"," at boot,\na migration failing with ",[1022,1965,1255],{}," \u002F no primary is\n",[1030,1968,1969],{},"deferred"," (not recorded, logged), not fatal.",[1038,1972,1973,1976],{},[1022,1974,1975],{},"MIGRATE_ONLY"," jobs still fail, so deploys stay fail-closed.",[1038,1978,1979],{},"Until the typed error exists, a classifier on mongo error codes.",[1060,1981,1983],{"id":1982},"_8-what-the-client-sees","8. What the client sees",[1035,1985,1986,1998],{},[1038,1987,1988,1991,1992,1503,1995,1095],{},[1030,1989,1990],{},"Spooled write:"," ",[1022,1993,1994],{},"202 Accepted",[1022,1996,1997],{},"{\"spooled\": true, \"until\": \"home_region\"}",[1038,1999,2000,1991,2003,2006,2007,1084,2010,1095],{},[1030,2001,2002],{},"Rejected write:",[1022,2004,2005],{},"503"," with code ",[1022,2008,2009],{},"home_region_unavailable",[1022,2011,1543],{},[1013,2013,2014],{},"Clients must handle both explicitly. Gymmer's journal today does not:",[1035,2016,2017,2031],{},[1038,2018,2019,2020,2022,2023,2026,2027,2030],{},"A 202 without a ",[1022,2021,1659],{}," resets its failure counters, and\n",[1022,2024,2025],{},"sinceSeq = Math.max(sinceSeq, res.seq)"," becomes ",[1022,2028,2029],{},"NaN",", which the server reads\nas 0, forcing a full resync.",[1038,2032,2033,2034,1095],{},"It retries a 503 at 3\u002F6\u002F8 s and ignores ",[1022,2035,1543],{},[1013,2037,2038],{},[1030,2039,2040],{},"Required client changes (the Gymmer session):",[1035,2042,2043,2054,2057,2060,2063,2069],{},[1038,2044,2045,2046,2049,2050,2053],{},"on ",[1022,2047,2048],{},"spooled",", leave ",[1022,2051,2052],{},"sinceSeq"," alone and keep the ops unsent;",[1038,2055,2056],{},"persist the spooled ids;",[1038,2058,2059],{},"don't count a spooled answer as a failure;",[1038,2061,2062],{},"show \"saved, syncing to your region\";",[1038,2064,2065,2066,2068],{},"retry at ",[1022,2067,1543],{}," or the next heartbeat;",[1038,2070,2071,2072,2074],{},"treat ",[1022,2073,2009],{}," like a network error, so an offline session\nstart kicks in.",[1013,2076,2077],{},"Gymmer specifics (from the Gymmer session):",[1035,2079,2080,2090,2113,2130,2133,2136,2139],{},[1038,2081,2082,2083,2086,2087,2089],{},"The workout journal is an op log with idempotent op ids, and ",[1030,2084,2085],{},"ops are\nstamped with the session owner's region, never the request's",". Op inserts\nare therefore the ",[1022,2088,1485],{},"-by-op-id kind, so spooling is exact.",[1038,2091,2092,2094,2095,2098,2099,2101,2102,2105,2106,2109,2110,2112],{},[1022,2093,1659],{}," acknowledges an op for the sync indicator. A spooled op must ",[1030,2096,2097],{},"not","\nget a home ",[1022,2100,1659],{},"; the fold recomputes at replay. ",[1022,2103,2104],{},"\u002Fcomplete"," also checks op\npresence (",[1022,2107,2108],{},"Ops.Has","), so completion waits until the ops replay. The client\nalready holds its finish marker, and ",[1022,2111,2104],{}," gets a 503 during the\noutage.",[1038,2114,2115,2116],{},"What can spool, from Gymmer's review:\n",[1035,2117,2118,2124],{},[1038,2119,2120,2121,2123],{},"offline session start: insert with the client's ",[1022,2122,1452],{},", duplicate → existing;",[1038,2125,2126,2127,2129],{},"op sync, as a registered ",[1022,2128,1399],{}," command.",[1038,2131,2132],{},"What gets a 503: from-program\u002Fad-hoc start (read-then-write), complete,\npause\u002Fresume, preferences and ratings.",[1038,2134,2135],{},"Biometrics are ClickHouse, so they're unaffected.",[1038,2137,2138],{},"The idempotency middleware doesn't store 5xx, so a retry after a 503 is safe.",[1038,2140,2141,1991,2144,2146,2147,2150,2151,2153,2154,2156,2157,2159],{},[1030,2142,2143],{},"Prerequisite, being fixed now:",[1022,2145,1399],{}," answered ",[1022,2148,2149],{},"unchanged"," for a\nre-send of already-known ops after a lost response. The client then moved\n",[1022,2152,2052],{}," past ops that never got a ",[1022,2155,1659],{},", and the finish gate never\nopened. A spool replay would hit it every time. Fix: answer ",[1022,2158,2149],{},"\nonly when the request carried no ops.",[1008,2161,2163],{"id":2162},"phases","Phases",[1236,2165,2166,2172,2205,2213,2232,2260,2266],{},[1038,2167,2168,2171],{},[1030,2169,2170],{},"Review"," this RFC: Nameniac done (revision 2), Gymmer pending. Decide the\nwaw copy question (§5).",[1038,2173,2174,2177],{},[1030,2175,2176],{},"go-framework:",[1035,2178,2179,2185,2188,2198,2202],{},[1038,2180,2181,2184],{},[1022,2182,2183],{},"HomeAvailable"," breaker with short owned deadlines;",[1038,2186,2187],{},"the generic relay primitive, with outbox migrated onto it;",[1038,2189,2190,2193,2194,2197],{},[1022,2191,2192],{},"spool"," + relay and ",[1022,2195,2196],{},"crud.WithSpool",";",[1038,2199,2200,2197],{},[1022,2201,1255],{},[1038,2203,2204],{},"the boot-migration deferral (§7).",[1038,2206,2207,1991,2210,2212],{},[1030,2208,2209],{},"go-events:",[1022,2211,1255],{}," = retry without counting a\ndelivery (§3).",[1038,2214,2215,2218],{},[1030,2216,2217],{},"Tests on the sharded fixture with one shard stopped, both directions:",[1035,2219,2220,2223,2226,2229],{},[1038,2221,2222],{},"writes spool; non-safe writes 503; consumers retry without reaching the\nDLQ; reads fall back;",[1038,2224,2225],{},"restart → replay in order, events once, duplicate replay a no-op;",[1038,2227,2228],{},"boot with a pending migration defers.",[1038,2230,2231],{},"Controls: replay without dedupe; out-of-order replay; an event at spool\ntime; a consumer counting deliveries.",[1038,2233,2234,2237],{},[1030,2235,2236],{},"Gymmer adopts:",[1035,2238,2239,2245,2248,2251,2257],{},[1038,2240,2241,2242,2244],{},"offline start (crud kind) and ",[1022,2243,1399],{}," (registered command);",[1038,2246,2247],{},"the client contract (§8);",[1038,2249,2250],{},"owner region without a global lookup (§6);",[1038,2252,2253,2254,2256],{},"the ",[1022,2255,2149],{}," fix;",[1038,2258,2259],{},"a check of its background writers.",[1038,2261,2262,2265],{},[1030,2263,2264],{},"Game day"," on a staging copy, NA first, then EU: stop the shard, log a\nfull workout through the other region, restart, verify replay, events and\nthe client's sync state.",[1038,2267,2268,2269,2272,2273,2275],{},"Only then: ",[1030,2270,2271],{},"allow NA members."," Nameniac adds the ",[1022,2274,1093],{}," zone range (P4.7);\nGymmer turns on NA registration. Gymmer's sharding itself goes ahead now,\nbecause no NA member exists.",[1008,2277,2279],{"id":2278},"alternatives-considered","Alternatives considered",[1035,2281,2282,2288,2294,2300],{},[1038,2283,2284,2287],{},[1030,2285,2286],{},"Client-only queueing."," Reject every write with 503 and let the\noffline-first app hold everything. It is simplest, but background writers,\nweb clients and other modules get nothing, and a second device can't see\nwhat was logged. The 503 path stays for non-spool-safe writes.",[1038,2289,2290,2293],{},[1030,2291,2292],{},"Temporary re-home."," Rejected (principle 1).",[1038,2295,2296,2299],{},[1030,2297,2298],{},"Regional shards with off-region voters,"," so the other region can elect a\nprimary. This undoes regional write latency, the reason for sharding, and in\nan Atlantic split both sides would want the primary.",[1038,2301,2302,2305],{},[1030,2303,2304],{},"Pausing consumer groups while the breaker is open."," Rejected (§3): groups\nserve members of both regions.",{"title":1374,"searchDepth":16,"depth":16,"links":2307},[2308,2312,2313,2325,2326],{"id":1010,"depth":16,"text":1011,"children":2309},[2310,2311],{"id":1062,"depth":22,"text":1063},{"id":1143,"depth":22,"text":1144},{"id":1233,"depth":16,"text":1234},{"id":1277,"depth":16,"text":1278,"children":2314},[2315,2317,2319,2320,2321,2322,2323,2324],{"id":1281,"depth":22,"text":2316},"1. Knowing the home region is down — region.HomeAvailable",{"id":1349,"depth":22,"text":2318},"2. Parking writes — runtime\u002Fmongo\u002Fspool",{"id":1558,"depth":22,"text":1559},{"id":1628,"depth":22,"text":1629},{"id":1744,"depth":22,"text":1745},{"id":1792,"depth":22,"text":1793},{"id":1941,"depth":22,"text":1942},{"id":1982,"depth":22,"text":1983},{"id":2162,"depth":16,"text":2163},{"id":2278,"depth":16,"text":2279},"md",null,{"status":2330,"date":2331,"owners":2332},"Draft, revision 3 (reviewed by Nameniac Go Web and the Gymmer session)","2026-10-18","platform",true,{"title":928,"description":1374},"0i6OMtIoCqfhZePgcASvsOGbfRuM-D8ylJ8RiYHYC5o",1793282557867]