Browse Source
Add error list each entry func (#7485)
Add error list each entry func (#7485)
* added error return in type ListEachEntryFunc * return error if errClose * fix fmt.Errorf * fix return errClose * use %w fmt.Errorf * added entry in messege error * add callbackErr in ListDirectoryEntries * fix error * add log * clear err when the scanner stops on io.EOF, so returning err doesn’t surface EOF as a failure. * more info in error * add ctx to logs, error handling * fix return eachEntryFunc * fix * fix log * fix return * fix foundationdb test s * fix eachEntryFunc * fix return resEachEntryFuncErr * Update weed/filer/filer.go Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * Update weed/filer/elastic/v7/elastic_store.go Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * Update weed/filer/hbase/hbase_store.go Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * Update weed/filer/foundationdb/foundationdb_store.go Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * Update weed/filer/ydb/ydb_store.go Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * fix * add scanErr --------- Co-authored-by: Roman Tamarov <r.tamarov@kryptonite.ru> Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com> Co-authored-by: chrislu <chris.lu@gmail.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>pull/7553/head
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
34 changed files with 350 additions and 137 deletions
-
12test/foundationdb/foundationdb_concurrent_test.go
-
12test/foundationdb/foundationdb_integration_test.go
-
19test/foundationdb/mock_integration_test.go
-
12weed/filer/abstract_sql/abstract_sql_store.go
-
8weed/filer/arangodb/arangodb_store.go
-
17weed/filer/cassandra/cassandra_store.go
-
18weed/filer/cassandra2/cassandra_store.go
-
18weed/filer/elastic/v7/elastic_store.go
-
12weed/filer/etcd/etcd_store.go
-
13weed/filer/filer.go
-
27weed/filer/filer_search.go
-
5weed/filer/filerstore.go
-
7weed/filer/filerstore_translate_path.go
-
22weed/filer/filerstore_wrapper.go
-
12weed/filer/foundationdb/foundationdb_store.go
-
12weed/filer/foundationdb/foundationdb_store_test.go
-
21weed/filer/hbase/hbase_store.go
-
9weed/filer/leveldb/leveldb_store.go
-
9weed/filer/leveldb2/leveldb2_store.go
-
9weed/filer/leveldb3/leveldb3_store.go
-
14weed/filer/mongodb/mongodb_store.go
-
9weed/filer/redis/universal_redis_store.go
-
9weed/filer/redis2/universal_redis_store.go
-
19weed/filer/redis3/universal_redis_store.go
-
9weed/filer/redis_lua/universal_redis_store.go
-
20weed/filer/rocksdb/rocksdb_store.go
-
13weed/filer/store_test/test_suite.go
-
9weed/filer/tarantool/tarantool_store.go
-
24weed/filer/tikv/tikv_store.go
-
7weed/filer/ydb/ydb_store.go
-
4weed/mount/meta_cache/meta_cache.go
-
17weed/mount/weedfs_dir_read.go
-
8weed/server/filer_grpc_server.go
-
7weed/server/filer_grpc_server_traverse_meta.go
Write
Preview
Loading…
Cancel
Save
Reference in new issue