• He Zhenxing's avatar
    BUG#22082 Slave hangs(holds mutex) on "disk full" · e7605e33
    He Zhenxing authored
    When disk is full, server may waiting for free space while
    writing binlog, relay-log or MyISAM tables. The server will 
    continue after user have freed some space. But the error
    message printed was not quite clear about the how often the
    error message is printed, and there will be a delay before
    the server continue and user freeing space. And caused users
    thinking that the server was hanging forever.
    
    This patch fixed the problem by making the error messages
    printed more clear. The error message is split into two part,
    the first part will only be printed once, and the second part
    will be printed very 10 times.
    
    Message first part:
    Disk is full writing '<filename>' (Errcode: <errorno>). Waiting
    for someone to free space... (Expect up to 60 secs delay for 
    server to continue after freeing disk space)
    
    Message second part:
    Retry in 60 secs, Message reprinted in 600 secs
    e7605e33
my_fstream.c 4.78 KB