seaweedfs/weed/filer/arangodb
gfx bf844d8e46
Fix crash in arangodb filer when attempting to access a deleted bucket (#3587)
* Update helpers.go

* Update arangodb_store_bucket.go
2022-09-04 20:32:10 -07:00
..
arangodb_store.go Correctly pass arangodb driver Transaction ID into the context (#3586) 2022-09-04 19:29:52 -07:00
arangodb_store_bucket.go Fix crash in arangodb filer when attempting to access a deleted bucket (#3587) 2022-09-04 20:32:10 -07:00
arangodb_store_kv.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
helpers.go Fix crash in arangodb filer when attempting to access a deleted bucket (#3587) 2022-09-04 20:32:10 -07:00
readme.md switch to multi collection, change readme 2022-03-18 21:51:16 -05:00

##arangodb

database: https://github.com/arangodb/arangodb go driver: https://github.com/arangodb/go-driver

options:

[arangodb]
enabled=true
db_name="seaweedfs"
servers=["http://localhost:8529"]
#basic auth
user="root"
pass="test"

# tls settings
insecure_skip_verify=true

i test using this dev database: docker run -p 8529:8529 -e ARANGO_ROOT_PASSWORD=test arangodb/arangodb:3.9.0

features i don't personally need but are missing

[ ] provide tls cert to arango [ ] authentication that is not basic auth [ ] synchronise endpoint interval config [ ] automatic creation of custom index [ ] configure default arangodb collection sharding rules [ ] configure default arangodb collection replication rules

complexity

ok, so if https://www.arangodb.com/docs/stable/indexing-index-basics.html#persistent-index is correct

O(1)

  • InsertEntry
  • UpdateEntry
  • FindEntry
  • DeleteEntry
  • KvPut
  • KvGet
  • KvDelete

O(log(BUCKET_SIZE))

  • DeleteFolderChildren

O(log(DIRECTORY_SIZE))

  • ListDirectoryEntries
  • ListDirectoryPrefixedEntries