Repository navigation
[7.3] Bound change-feed waits for reader acknowledgments - #14446
tclinkenbeard-oai wants to merge 3 commits into
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Result of foundationdb-pr-macos-m1 on macOS
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Result of foundationdb-pr-macos on macOS
|
This comment has been minimized.
This comment has been minimized.
mengxu-oai
left a comment
There was a problem hiding this comment.
Generated by Codex.
What problem is this PR trying to solve? (ELI10)
A change feed tells a reader which writes happened. Imagine a reader stops taking messages after the first of two writes. A replacement reader on the same client can still be told that the second write is pending. The storage server reports the lowest version among that client’s blocked streams, and the old stream could wait forever for room to send. A blob read waiting for the second version could then hang. Old acknowledgment wait · Per-client minimum · Blob read wait
How does this PR solve the problem? (ELI10 and review walkthrough)
- When a caught-up stream has more to send but its reply buffer is full, the server starts a five-minute deadline. If an earlier timer wakes during a new stall, the server checks the new deadline. Default timeout · Deadline and timer reuse
- If the reader stays blocked, the server sends
connection_failed, then removes that stream’s ID. Other blocked streams still count. In the example, the old reader can no longer hold back the second write. Send the error · Remove the stream - The native client treats the error as retryable. The regression reopens the feed from its saved position and checks the versions, values, and order of both writes. Client retry · Replay checks
What is it trying to do?
Bound how long a caught-up reader can hold back progress for other streams on the same client and storage server.
Is it correct?
The server change looks correct. The error can wake the client while replies are still queued, and cleanup preserves the other streams’ progress limits. The issue I found is in the regression workload. Stream error notification · Client error listener
Are there bugs?
The workload can report a replay failure after a successful marker write. If the first marker commits and the proxy list changes before its reply arrives, writeMarker can receive commit_unknown_result. It retries the same write and returns the second attempt’s version. The feed correctly records both sets. The replay assertion then rejects the original write because its version differs from the retry’s. The controller can trigger recovery for better placement even with failure workloads disabled. Marker retry · Proxy change · Controller-initiated recovery · Unknown commit outcome · Feed appends the set · Version and count assertions
Are there omissions?
The test covers one uninterrupted stall. Two short stalls spanning the first timer’s deadline would also catch an early disconnect caused by timer reuse. I consider that coverage optional. Stall sequence
Are there better ways of doing things?
Enable AUTOMATIC_IDEMPOTENCY on each marker transaction attempt. Obtain the versionstamp future before commit and return its commit version. On 7.3, the ambiguous-commit recovery path supplies the original version through that future. This keeps the exact replay assertions. Transaction option · Recovered commit version
Should this CL be LGTMd?
Not yet. I would fix the marker retry before merging the new fast test. The current public checks pass. I reviewed the source without building or running tests. Commit checks
mengxu-oai
left a comment
There was a problem hiding this comment.
this change feed feature was removed in 8.0. Do we still want to patch it?
It's still causing test failures in 7.3, so I think it should still be patched on this branch |
Recover the original marker version from the versionstamp when a commit reply is lost. This keeps retries from adding duplicate mutations to the feed and preserves the exact replay checks.
Result of foundationdb-pr-macos-m1-73 on macOS
|
Result of foundationdb-pr-clang-arm on Linux RHEL 9
|
Result of foundationdb-pr-clang on Linux RHEL 9
|
Result of foundationdb-pr-macos-73 on macOS
|
Result of foundationdb-pr-clang-73 on Linux CentOS 7
|
Result of foundationdb-pr on Linux RHEL 9
|
Result of foundationdb-pr-73 on Linux CentOS 7
|
|
clang builds have joshua test failures which seem related: <Test TestUID="7d28fec0-5269-429c-ad19-adb8b32b6985" Statistics="vQEAANcDAABkBAAAQgYAAMMAAAD7AQAAXwAAAFoAAADZEQAAUgIAACcAAAAVBQAAJwAAAD4AAAAkAAAASgIAACQAAAD2MwAA5gAAAHwAAAA4AAAA3AAAAMsAAAACAQAAXAIAAIQFAACNAAAAlAEAADoCAACGBgAA8QAAACMWAADeAAAAYgEAADsAAAB2AAAA8wAAADcAAADIBAAA1yAAAKACAABfAAAAawAAAFMGAADWAAAARQAAACkAAACjAQAANgAAACMBAAD7DAAAXQIAAI0DAAAgBgAAkgAAAFgFAABVAgAA0QAAANk+AAC+AgAAkgYAAFIAAAB/AAAABgAAAKIAAAA0AAAAWiEAAD0AAAAoAAAAJwAAAPU2AAAfAQAAowIAALEAAAD/AAAAMAAAAE0DAADIHgAA/AAAAM8AAAABAwAAcAYAAB0bAABSAQAAABAAAEoAAABqAgAAOgAAAAoCAAB5AAAA0AAAALILAAB8GAAAMwUAADEAAABwAAAAHgEAAPYBAAAeCQAAQwAAAD4BAABzAgAATw0AACkAAABvAgAAzAEAAKAyAAAhBwAABAEAAGAEAABbAAAAKgAAAGAxAAA3DgAAGwEAAAkBAACqAAAA/QUAAA=="
JoshuaSeed="2186364965550985225" WillRestart="0" NegativeTest="0" RandomSeed="4158850644" SourceVersion="ee04c7b5edb844d1ac1d24c2ec917a9906c0c926" Time="1795550374" BuggifyEnabled="0" DeterminismCheck="0" FaultInjectionEnabled="1"
TestFile="tests/fast/ChangeFeedStreamReadyTimeout.toml" ConfigString="new backup_worker_enabled:=0 blob_granules_enabled:=0 commit_proxies:=3 encryption_at_rest_mode=disabled grv_proxies:=1 log_engine=ssd-2 log_spill:=2 log_version:=7 logs:=3 perpetual_storage_wiggle:=1 perpetual_storage_wiggle_engine=none proxies:=4 double resolvers:=1 storage_engine=ssd-2 storage_migration_type=disabled tenant_mode=disabled usable_regions:=1" SimElapsedTime="50.132" RealElapsedTime="1.38105" RandomUnseed="95524" PeakMemory="188600" Ok="0" Runtime="1.5255358219146729" FailReason="ProducedErrors" TotalTestTime="38" TestRunCount="3">
<DisableConnectionFailures_Tester Severity="30" Time="5.618552" DateTime="2026-11-24T19:59:34Z" Machine="0.0.0.0:0" ID="0000000000000000" ThreadID="2423703747605092459" LogGroup="default"/>
<QuietDatabaseStartFail Severity="30" Time="30.019355" DateTime="2026-11-24T19:59:35Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="DataDistributionActive" FailedAfter="17.5114" Timeout="1000" ThreadID="2423703747605092459" LogGroup="default"/>
<QuietDatabaseStartFail Severity="30" Time="31.503334" DateTime="2026-11-24T19:59:35Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="MaxTLogPoppedVersionLag, DataDistributionActive" FailedAfter="18.9954" Timeout="1000" ThreadID="2423703747605092459" LogGroup="default"/>
<QuietDatabaseStartFail Severity="30" Time="32.522286" DateTime="2026-11-24T19:59:35Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="MaxTLogPoppedVersionLag, DataDistributionActive" FailedAfter="20.0144" Timeout="1000" ThreadID="2423703747605092459" LogGroup="default"/>
<QuietDatabaseStartFail Severity="30" Time="33.545948" DateTime="2026-11-24T19:59:35Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="MaxTLogPoppedVersionLag, DataDistributionActive" FailedAfter="21.038" Timeout="1000" ThreadID="2423703747605092459" LogGroup="default"/>
<QuietDatabaseStartFail Severity="30" Time="34.572784" DateTime="2026-11-24T19:59:35Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="MaxTLogPoppedVersionLag, DataDistributionActive" FailedAfter="22.0649" Timeout="1000" ThreadID="2423703747605092459" LogGroup="default"/>
<QuietDatabaseStartFail Severity="30" Time="35.594668" DateTime="2026-11-24T19:59:35Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="MaxTLogPoppedVersionLag, DataDistributionActive" FailedAfter="23.0868" Timeout="1000" ThreadID="2423703747605092459" LogGroup="default"/>
<QuietDatabaseStartFail Severity="30" Time="36.619050" DateTime="2026-11-24T19:59:35Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="MaxTLogPoppedVersionLag, DataDistributionActive" FailedAfter="24.1111" Timeout="1000" ThreadID="2423703747605092459" LogGroup="default"/>
<QuietDatabaseStartFail Severity="30" Time="37.644202" DateTime="2026-11-24T19:59:35Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="DataDistributionActive" FailedAfter="25.1363" Timeout="1000" ThreadID="2423703747605092459" LogGroup="default"/>
<QuietDatabaseStartFail Severity="30" Time="38.666508" DateTime="2026-11-24T19:59:35Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="DataDistributionActive" FailedAfter="26.1586" Timeout="1000" ThreadID="2423703747605092459" LogGroup="default"/>
<TestFailure Severity="40" ErrorKind="Unset" Time="50.128908" DateTime="2026-11-24T19:59:36Z" Type="TestFailure" Machine="[abcd::3:4:3:3]:1" ID="180227045201f113" Error="grv_proxy_memory_limit_exceeded" ErrorDescription="GetReadVersion proxy memory limit exceeded" ErrorCode="1078" Reason="Error starting workload" Workload="ChangeFeeds" ThreadID="2423703747605092459" Backtrace="addr2line -e fdbserver.debug -p -C -f -i 0x57a6dbd 0x57a708c 0x57a0b64 0x361bbc7 0x361d35f 0x1cdc839 0x1d9244d 0x1cdc839 0x1cdc839 0x360dad6 0x1cdc839 0x24256ae 0x1cdc839 0x3ab1606 0x1dd53a9 0x4a18441 0x1dd07e9 0x4a168a0 0x4a16795 0x4a16f99 0x1dcdf89 0x4a1305b 0x4a1276d 0x1dcdf89 0x1da13ab 0x1d9f26b 0x1da0a08 0x1da1199 0x1dcdf89 0x1dcdc3c 0x5567d0d 0x55675e3 0x1c4b5e8 0x5660441 0x565ff5a 0x340b9cc 0x7f909e03f610" LogGroup="default" Roles="TS"/>
<StartFailedForWorkloadChangeFeedStreamReadyTimeout Severity="40" ErrorKind="Unset" Time="50.132027" DateTime="2026-11-24T19:59:36Z" Type="StartFailedForWorkloadChangeFeedStreamReadyTimeout" Machine="0.0.0.0:0" ID="0000000000000000" Error="operation_failed" ErrorDescription="Operation failed" ErrorCode="1000" ThreadID="2423703747605092459" Backtrace="addr2line -e fdbserver.debug -p -C -f -i 0x57a6dbd 0x57a708c 0x57a0b64 0x369ab38 0x362f180 0x362a293 0x1db49a8 0x2bfd85d 0x1e11ad8 0x1e120e9 0x1cdc839 0x1da6b2b 0x1da7217 0x1cdc839 0x1d1f729 0x5567d0d 0x55675e3 0x1c4b5e8 0x5660441 0x565ff5a 0x340b9cc 0x7f909e03f610" LogGroup="default"/>
<RunTests Severity="40" ErrorKind="Unset" Time="50.132027" DateTime="2026-11-24T19:59:36Z" Type="RunTests" Machine="0.0.0.0:0" ID="0000000000000000" Error="operation_failed" ErrorDescription="Operation failed" ErrorCode="1000" ThreadID="2423703747605092459" Backtrace="addr2line -e fdbserver.debug -p -C -f -i 0x57a6dbd 0x57a708c 0x57a0b64 0x23904ad 0x2390717 0x1cdc839 0x367aa74 0x1cdc839 0x3678d3a 0x1cdc839 0x1d9ea9e 0x1db2859 0x365b9a6 0x365ea59 0x369a109 0x365c5be 0x369a109 0x362a2c9 0x1db49a8 0x2bfd85d 0x1e11ad8 0x1e120e9 0x1cdc839 0x1da6b2b 0x1da7217 0x1cdc839 0x1d1f729 0x5567d0d 0x55675e3 0x1c4b5e8 0x5660441 0x565ff5a 0x340b9cc 0x7f909e03f610" LogGroup="default"/>
<SetupAndRunError Severity="40" ErrorKind="Unset" Time="50.132027" DateTime="2026-11-24T19:59:36Z" Type="SetupAndRunError" Machine="0.0.0.0:0" ID="0000000000000000" Error="operation_failed" ErrorDescription="Operation failed" ErrorCode="1000" ThreadID="2423703747605092459" Backtrace="addr2line -e fdbserver.debug -p -C -f -i 0x57a6dbd 0x57a708c 0x57a0b64 0x2fc99bb 0x2fc307b 0x1cdc839 0x24256ae 0x1cdc839 0x367e481 0x1cdc839 0x23904d7 0x2390717 0x1cdc839 0x367aa74 0x1cdc839 0x3678d3a 0x1cdc839 0x1d9ea9e 0x1db2859 0x365b9a6 0x365ea59 0x369a109 0x365c5be 0x369a109 0x362a2c9 0x1db49a8 0x2bfd85d 0x1e11ad8 0x1e120e9 0x1cdc839 0x1da6b2b 0x1da7217 0x1cdc839 0x1d1f729 0x5567d0d 0x55675e3 0x1c4b5e8 0x5660441 0x565ff5a 0x340b9cc 0x7f909e03f610" LogGroup="default"/>
<WarningLimitExceeded Severity="30" WarningCount="17"/>
<JoshuaLogTool ExitCode="0" StdOut="" StdErr="INFO:joshua.joshua_model:transaction_timeout: 512000 and transaction_retry_limit: 2000 "/>
<SimFDB TestDir="tmp/7d28fec0-5269-429c-ad19-adb8b32b6985">
<Directory Name="ff3729a51f61bec28b66dfce3b9b38ab"/>
<Directory Name="9964b0d9a899fd282be8731bc4c982e6"/>
<Directory Name="6c0219cc3f2f4c13643e4da1e0ac1627"/>
<Directory Name="007fe5f6206db5f065f76266db906b8c"/>
<Directory Name="ea355d1e2024c1cef1d15874594fa5ac"/>
<Directory Name="7261c3761f4e81680e35b932cbb8c16c"/>
<Directory Name="cfe32e0b3ca00c6134882755caf9a6ce"/>
<Directory Name="617be7611002a218956a10df61d67233"/>
<Directory Name="634474c2b9dbfd1e343ac11958111772"/>
<Directory Name="cdde06d73b9b5998f0cd57e055953067"/>
<Directory Name="26170e3ffb2f365efd3222d346ed7f78"/>
<Directory Name="1019a57c968e98d6f270527d3cd99794"/>
<Directory Name="1774ea4eb4d5b1a730eaf2152215153f"/>
<Directory Name="735855b00c7ac0d2838cc46c54243d30"/>
<Directory Name="920f841149dc1b6aa6972c5d7eb5a431"/>
<Directory Name="26a90653a419455004f814aa90d88704"/>
<Directory Name="00911617fcd2ae0658845f5912e5f015"/>
<Directory Name="72e259e3522004e0387f7a7b3a4da1fe"/>
<Directory Name="6f98abc139f3e82764e2d1c8e0969e4a"/>
<Directory Name="5ecad45a2e0beb256e843761f18b22a9"/>
<Directory Name="6661f9745004dd82e883d5b13317fcbc"/>
<Directory Name="775980be250516e1a6875085c3368e5a"/>
<Directory Name="5b782f45d9fc3e06f03965c42c3d9f69"/>
<Directory Name="5041bb36974fa9de762013ae6c92ba92"/>
<Directory Name="208a76d9645eb2b87e39582a46cf2d83"/>
<Directory Name="b3971fdcedb84cdbd1c0ee58ff4076f2"/>
<Directory Name="04b4c326eeaf9c7bdadda388cf96d36d"/>
<Directory Name="0542dadf1f641bd7bb1fef8d27808fc5"/>
<Directory Name="df3a5661ecb6232696e60dc66c9eaa3f"/>
<Directory Name="4d53741b4dc9f1270a0867b36d682b48"/>
<Directory Name="558ec828dbcda369dd183b08b27dd35e"/>
<Directory Name="acd190be7a2a05c4c9043590985e3ab3"/>
<Directory Name="3e5012d3033ab5d74ae55263d27dc923"/>
</SimFDB>
</Test> <Test TestUID="8a90f3c7-05a9-41da-bce0-dfd481748544" Statistics="UgEAANUBAAAQAwAAIwAAAEgCAAAWAAAAOgAAACoAAACtCAAAFAAAABUAAADnAwAA+gUAAJ0AAAC2AAAAFQUAABIAAAAsBgAASwQAAC4AAAAiAAAAmwEAAE8AAACRAgAAkwAAAIAAAAAaAAAAzwAAAK4LAABsAAAAqgcAAIYAAABJAAAAMAAAABMAAADCBAAAMAAAAJsAAABJAAAAAQQAAMQBAABaAAAAJQAAACAAAAAYAgAAFQAAAGIGAACSBAAAlAUAAMYDAABZAQAA2AEAAOkBAABrAAAAaAEAAHIAAADXAAAAFAIAAPkqAAAsAAAArgMAAAgCAACSAAAAFQAAAIoBAAAvAAAAlwMAADEAAADXAQAAFwAAAG0AAABPAAAAIAIAAGYAAAATAAAAEwAAAJ0NAAAdAAAAHwQAABABAACSAAAAKQIAAMMSAADVAAAAPAAAACQAAABAAAAAMwAAAEAAAAAwAAAAXgAAAGsBAAAXAAAARQAAAG8AAAAgAAAAYgAAAJkJAAC3AAAAPAMAABQAAACvAQAAlQAAADMBAAA5AAAAIwAAAIABAAAvAAAAnwAAADQCAABYAAAAnQMAADkAAAAsAAAAThIAAIMCAABjAwAAYAAAAA=="
JoshuaSeed="2067200372267422982" WillRestart="0" NegativeTest="0" RandomSeed="4115168324" SourceVersion="ee04c7b5edb844d1ac1d24c2ec917a9906c0c926" Time="1795550269" BuggifyEnabled="0" DeterminismCheck="0" FaultInjectionEnabled="1"
TestFile="tests/fast/ChangeFeedStreamReadyTimeout.toml" ConfigString="new backup_worker_enabled:=1 blob_granules_enabled:=0 commit_proxies:=3 encryption_at_rest_mode=disabled grv_proxies:=1 log_engine=ssd-2 log_spill:=2 log_version:=7 logs:=3 perpetual_storage_wiggle:=1 perpetual_storage_wiggle_engine=none proxies:=4 double resolvers:=1 storage_engine=ssd-rocksdb-v1 storage_migration_type=disabled tenant_mode=disabled usable_regions:=1 perpetual_storage_wiggle_locality=data_hall:1" SimElapsedTime="51.8119" RealElapsedTime="11.5357" RandomUnseed="0" PeakMemory="263996" Ok="0" Runtime="11.790014266967773" FailReason="ProducedErrors" TotalTestTime="30" TestRunCount="1">
<RocksDBNonDeterminism Severity="30" Time="0.000000" DateTime="2026-11-24T19:57:50Z" Machine="0.0.0.0:0" ID="0000000000000000" Explanation="The RocksDB storage engine is threaded and non-deterministic" ThreadID="8586889776837557149" LogGroup="default"/>
<DisableConnectionFailures_Tester Severity="30" Time="5.998161" DateTime="2026-11-24T19:57:50Z" Machine="0.0.0.0:0" ID="0000000000000000" ThreadID="8586889776837557149" LogGroup="default"/>
<QuietDatabaseStartFail Severity="30" Time="32.882191" DateTime="2026-11-24T19:57:56Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="DataDistributionActive, StorageServersRecruiting" FailedAfter="19.3776" Timeout="1000" ThreadID="8586889776837557149" LogGroup="default"/>
<QuietDatabaseStartFail Severity="30" Time="34.384106" DateTime="2026-11-24T19:57:57Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="MaxTLogPoppedVersionLag, DataDistributionActive" FailedAfter="20.8795" Timeout="1000" ThreadID="8586889776837557149" LogGroup="default"/>
<QuietDatabaseStartFail Severity="30" Time="35.407154" DateTime="2026-11-24T19:57:57Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="MaxTLogPoppedVersionLag, DataDistributionActive" FailedAfter="21.9026" Timeout="1000" ThreadID="8586889776837557149" LogGroup="default"/>
<QuietDatabaseStartFail Severity="30" Time="36.435077" DateTime="2026-11-24T19:57:57Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="MaxTLogPoppedVersionLag, DataDistributionActive" FailedAfter="22.9305" Timeout="1000" ThreadID="8586889776837557149" LogGroup="default"/>
<QuietDatabaseStartFail Severity="30" Time="37.458339" DateTime="2026-11-24T19:57:57Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="MaxTLogPoppedVersionLag, DataDistributionActive" FailedAfter="23.9537" Timeout="1000" ThreadID="8586889776837557149" LogGroup="default"/>
<QuietDatabaseStartFail Severity="30" Time="38.484580" DateTime="2026-11-24T19:57:58Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="MaxTLogPoppedVersionLag, DataDistributionActive" FailedAfter="24.98" Timeout="1000" ThreadID="8586889776837557149" LogGroup="default"/>
<QuietDatabaseStartFail Severity="30" Time="39.508445" DateTime="2026-11-24T19:57:58Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="DataDistributionActive" FailedAfter="26.0038" Timeout="1000" ThreadID="8586889776837557149" LogGroup="default"/>
<QuietDatabaseStartFail Severity="30" Time="40.533415" DateTime="2026-11-24T19:57:58Z" Machine="0.0.0.0:0" ID="0000000000000000" Reasons="DataDistributionActive" FailedAfter="27.0288" Timeout="1000" ThreadID="8586889776837557149" LogGroup="default"/>
<TestFailure Severity="40" ErrorKind="Unset" Time="51.810576" DateTime="2026-11-24T19:58:01Z" Type="TestFailure" Machine="3.4.3.4:1" ID="55af873f572f555f" Error="grv_proxy_memory_limit_exceeded" ErrorDescription="GetReadVersion proxy memory limit exceeded" ErrorCode="1078" Reason="Error starting workload" Workload="ChangeFeeds" ThreadID="8586889776837557149" Backtrace="addr2line -e fdbserver.debug -p -C -f -i 0x54a4fef 0x54a52ea 0x549eda4 0x3430ef2 0x34324ca 0x1c26b79 0x1cd1883 0x1c26b79 0x1c26b79 0x3423fd1 0x1c26b79 0x231feb4 0x1c26b79 0x38923fb 0x1d13309 0x476286c 0x1d0f0b8 0x4760d31 0x4760c22 0x4761454 0x1d0c8c9 0x475d52d 0x475cc22 0x1d0c8c9 0x1cdfc8c 0x1cddb36 0x1cdf268 0x1cdf9ca 0x1d0c8c9 0x1d0c55c 0x5270974 0x527026c 0x1b92e18 0x5366ae6 0x5366600 0x322f54a 0x7fa8e6d74610" LogGroup="default" Roles="TS"/>
<StartFailedForWorkloadChangeFeedStreamReadyTimeout Severity="40" ErrorKind="Unset" Time="51.811877" DateTime="2026-11-24T19:58:01Z" Type="StartFailedForWorkloadChangeFeedStreamReadyTimeout" Machine="0.0.0.0:0" ID="0000000000000000" Error="operation_failed" ErrorDescription="Operation failed" ErrorCode="1000" ThreadID="8586889776837557149" Backtrace="addr2line -e fdbserver.debug -p -C -f -i 0x54a4fef 0x54a52ea 0x549eda4 0x34a7f57 0x3443830 0x343eb5e 0x1cf2908 0x2a9c928 0x1d4e1b8 0x1d4e7aa 0x1c26b79 0x1ce4f8b 0x1ce566d 0x1c26b79 0x1c67359 0x5270974 0x527026c 0x1b92e18 0x5366ae6 0x5366600 0x322f54a 0x7fa8e6d74610" LogGroup="default"/>
<RunTests Severity="40" ErrorKind="Unset" Time="51.811877" DateTime="2026-11-24T19:58:01Z" Type="RunTests" Machine="0.0.0.0:0" ID="0000000000000000" Error="operation_failed" ErrorDescription="Operation failed" ErrorCode="1000" ThreadID="8586889776837557149" Backtrace="addr2line -e fdbserver.debug -p -C -f -i 0x54a4fef 0x54a52ea 0x549eda4 0x229183d 0x2291aa2 0x1c26b79 0x34899df 0x1c26b79 0x3488095 0x1c26b79 0x1cdd37f 0x1cf0ac9 0x346cad6 0x346f8fe 0x34a73c9 0x346d584 0x34a73c9 0x343eb94 0x1cf2908 0x2a9c928 0x1d4e1b8 0x1d4e7aa 0x1c26b79 0x1ce4f8b 0x1ce566d 0x1c26b79 0x1c67359 0x5270974 0x527026c 0x1b92e18 0x5366ae6 0x5366600 0x322f54a 0x7fa8e6d74610" LogGroup="default"/>
<SetupAndRunError Severity="40" ErrorKind="Unset" Time="51.811877" DateTime="2026-11-24T19:58:01Z" Type="SetupAndRunError" Machine="0.0.0.0:0" ID="0000000000000000" Error="operation_failed" ErrorDescription="Operation failed" ErrorCode="1000" ThreadID="8586889776837557149" Backtrace="addr2line -e fdbserver.debug -p -C -f -i 0x54a4fef 0x54a52ea 0x549eda4 0x2e2b95a 0x2e259a3 0x1c26b79 0x231feb4 0x1c26b79 0x348d2a7 0x1c26b79 0x229186c 0x2291aa2 0x1c26b79 0x34899df 0x1c26b79 0x3488095 0x1c26b79 0x1cdd37f 0x1cf0ac9 0x346cad6 0x346f8fe 0x34a73c9 0x346d584 0x34a73c9 0x343eb94 0x1cf2908 0x2a9c928 0x1d4e1b8 0x1d4e7aa 0x1c26b79 0x1ce4f8b 0x1ce566d 0x1c26b79 0x1c67359 0x5270974 0x527026c 0x1b92e18 0x5366ae6 0x5366600 0x322f54a 0x7fa8e6d74610" LogGroup="default"/>
<WarningLimitExceeded Severity="30" WarningCount="16"/>
<JoshuaLogTool ExitCode="0" StdOut="" StdErr="INFO:joshua.joshua_model:transaction_timeout: 512000 and transaction_retry_limit: 2000 "/>
</Test>fdbserver -r simulation --crash --logsize 1024MB -f src/foundationdb/tests/fast/ChangeFeedStreamReadyTimeout.toml --buggify off --seed 4115168324 |
Result of foundationdb-pr-cluster-tests-73 on Linux CentOS 7
|
A storage server tracks each blocked change-feed stream when it reports progress to that client. If a reader stops acknowledging replies, its stream can hold the reported version behind a replacement stream indefinitely. Blob reads at a later version then keep retrying, even after the storage server has processed every mutation they need.
End a caught-up stream with
connection_failedafter five minutes of uninterrupted backpressure. The server sends the error before removing the stream from its progress calculation. A live reader can resume at its last consumed version. The timer is reused across brief stalls.The regression holds one reply unacknowledged, commits a second mutation and observes the pinned version. It checks the retryable error, the released version and the exact order and values of both mutations after reopening the feed.
Validation
Built
fdbserverfrom thisrelease-7.3change. The focusedtests/fast/ChangeFeedStreamReadyTimeout.tomlsimulation passed on two seeds. Both runs observed the timeout and verified that reopening the feed returned both outstanding mutations.