You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2020/10/12 14:15:59 UTC

[GitHub] [rocketmq] lenozhi commented on issue #573: The disk space is enough, but I got "service not available now, maybe disk full" error after i run the program some times

lenozhi commented on issue #573:
URL: https://github.com/apache/rocketmq/issues/573#issuecomment-707147761


   you just do that:
   1. mqbroker.cmd -c  broker.conf ,  borker.conf in ROCKETMQ_HOME/conf 
   2. in broker.conf, you can set diskMaxUsedSpaceRatio = 99,  the default value is 75.
   
   and i have a question, in  class MessageStoreConfig,  the property diskMaxUsedSpaceRatio is not decorated by @ImportantField.
   what's means @ImportantField? i just find some code:
   
   ```
           if (onlyImportantField) {
                           Annotation annotation = field.getAnnotation(ImportantField.class);
                           if (null == annotation) {
                               continue;
                           }
                       }
   
                       if (logger != null) {
                           logger.info(name + "=" + value);
                       } else {
                       }
                   }
               }
   
   ```
    just for log? i dont' know.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org