* test/s3: FsMkdir no longer fails on its own in the rclone fstests
expected_failures.txt listed the test itself because DeleteBucket answered
BucketNotEmpty at the end of the run. Since #13311 a null delete marker can
be deleted, the bucket ends up empty, and the check has failed on master and
on every pull request the workflow runs for:
TestIntegration/FsMkdir: now fails only through its subtests, remove it
from expected_failures.txt
* filer/hbase: propagate errors when deleting directory children
* filer: reclaim HBase chunks after each confirmed row deletion
* filer: return a child's remote delete error from a recursive delete
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* filer: drop the per-row folder delete store capability
Keep the HBase scan and row-delete errors reaching the caller without a
new FilerStore capability. A store that fails partway through
DeleteFolderChildren leaves already-removed rows' chunks to volume.fsck,
as every non-transactional store already does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: MapleWhiteZZZ <18653045+MapleWhiteZZZ@users.noreply.github.com>
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* filer: read KV keys a few at a time for a store without batch reads
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* abstract_sql: read KV keys with one query
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* redis: read KV keys in one pipeline
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* etcd: read KV keys in read-only transactions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* mongodb: read KV keys with one query
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* cassandra: read KV keys concurrently
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* hbase: read KV keys concurrently
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* elastic: read KV keys concurrently
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* arangodb: read KV keys with one request
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* foundationdb: read KV keys in one transaction
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* ydb: read KV keys with one query
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* tarantool: send KV reads before waiting for any
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* filer: every filer store reads KV keys in batches
KvBatchGet moves from the optional KvBatchReader onto FilerStore. A listing
now reads the hard link records of its waiting entries together from any
store, a path-specific one included.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* tikv: count only the record reads of a listing in its test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* filer: return every batched key that pads to the same stored row
SQL, MongoDB and YDB pad a short KV key with zero bytes, so "short" and
"short\x00" read the same row. KvBatchGet kept only the last such key.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* filer: read keys in a plain loop when KvGetEach runs one at a time
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* test: prefixed directory listing with start below the prefix
A listing constrained to prefix "item-b" and resumed from "item" must
return item-b.versions. The seek-based stores return an empty page
because the iterator lands before the prefix range and breaks on the
first non-matching name.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* filer: clamp prefixed-listing seek to the prefix range
Seek-based stores (leveldb, leveldb2, leveldb3, rocksdb, tikv, etcd)
started the scan at startFileName and stopped at the first key outside
the prefix. A startFileName below the prefix landed the iterator on a
non-matching sibling first, so the listing returned an empty page even
though matching entries followed. etcd had the mirror problem: a range
beginning below the prefix end leaked non-matching entries. Begin the
seek at max(startFileName, prefix), which is what foundationdb and the
sql stores already do.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* filer(hbase): honor startFileName lower bound in prefixed listings
The scan starts at the prefix but only skipped the exact startFileName,
so entries sorting before it were returned again on resume.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* filer: keep paging a prefixed listing while matches can still follow
The fallback for stores without native prefix support stopped paging as
soon as the last scanned name reached the prefix, dropping prefix
matches that continue on the next page.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* filer: return the last delivered name from the prefixed-listing fallback
The fallback for stores without native prefix support pages raw entries
and filters client-side. Keep the scan cursor and the returned cursor
separate: resuming must continue after the last delivered match, not the
last scanned name, or matches still inside the current raw page are
skipped on the next page. Also keep paging while the scan cursor is
inside or below the prefix range instead of stopping at the first name
that reaches the prefix.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* filer(hbase): start prefixed-listing scans at the resume key
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
---------
Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>