couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <>
Subject add modified time to db header
Date Mon, 21 Sep 2009 15:25:06 GMT
Hi all,

I've started today a patch that add modified date to teh db header in
view of geeting last time a db was updated which would allow in case
of a global db handler to get all changes since this date, or just get
all new dbs created. Patch is attached and could be found in my repo :

It works and I can get db infos :


Main problem actually is that it doesn't handle old dbs since header
should be upgraded. I've read the code in couch_file but fail for now
to understand the logic to read/rewrite header. I think I should first
test if header is on version < 0.9 then 0.10 but... Any help would be

Also what do you think of this patch ?

- benoit

  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message