Skip to content
chanke edited this page Feb 20, 2012 · 11 revisions
  • Raise error on all DAO class, each class has own Error(Exception)

  • Salvage command in VolService and FsService

  • All database operation will be handle by CellService

  • The user and group are handle by PtService

  • Fileserver information retrieve from rxdebug, connection, version, client, thread status (RxPeerDao)

  • CellService handle Bos / Bnode command

  • Lazy loading attribute for model, raise exception for attribute not loaded

  • Single information (es. volume) is always retrieve from AFS. Others info are retrieve from DB cache but you can force to get live data with specific flag (cache=False)

  • All methods with the word Count will be based on the DB cache

  • Specific object will be used for user custom query (ex. QueryVol)

  • new example: querying continuously the VLDB and PRDB if we need to update the DB_CACHE. Update the DB_CACHE in parallel.

  • use tornado for webinterface.

  • FilesystemDAO used by utils to extend os.path

  • Add operation on acl to FilesystemDao

  • a DAO is forked and detached completely from service and writes output to an designated SPOOLDIR.

  • DB Strings can be CSV, no use Pickle instead!

Christof :

  1. example for updating DB_CACHE

  2. libafsadmin to .so

  3. ACL/PTS stuff

  4. afs.path in util

  5. make scout use OUTPUT_TABLE (row-replication for entries that might be more than once.)

Clone this wiki locally