dbTalk Databases Forums  

No warning on disk full

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss No warning on disk full in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default No warning on disk full - 06-09-2006 , 07:50 AM






Hi,

I'm having a small problem with bdb (4.1.25 for various reasons). When
I call db->put () on a full file system, the error log function gets
called, but the method doesn't appear to be returning an error (I
expect ENOSPC). Is this a known problem with this version of bdb, or
am I doing something wrong?

Cheers,
Ross


Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default Re: No warning on disk full - 06-09-2006 , 10:30 AM






Very bad form to reply to self, but I can confirm that calling
db->put() then db->sync() on a full filestore results in the errcall
function being called (thus getting errors in my log) but 0 is returned
by db->sync.

Ross


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.