You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
单独使用Fqueue时,设置文件太小,如:
FQueue fQueue = new FQueue("xxxx",100*1024);
写到2,3个文件后就会抛异常
翻看源码后看每次新生成idb文件是有一个单独线程在运行,��
�步怀疑是上一个文件写满,下一个文件还未生成造成的,不�
��道怀疑的对不对
异常信息如下:
com.google.code.fqueue.exception.FileFormatException: file format error
at com.google.code.fqueue.log.LogEntity.<init>(LogEntity.java:89) --这句也可能在79行抛出,都出现过
at com.google.code.fqueue.FSQueue.createLogEntity(FSQueue.java:110)
at com.google.code.fqueue.FSQueue.rotateNextLogWriter(FSQueue.java:126)
at com.google.code.fqueue.FSQueue.add(FSQueue.java:152)
at com.google.code.fqueue.FQueue.offer(FQueue.java:66)
at com.google.code.fqueue.FQueue.offer(FQueue.java:1)
at java.util.AbstractQueue.add(AbstractQueue.java:68)
at TestFQueue2.main(TestFQueue2.java:27)
java.lang.IllegalStateException: Queue full
at java.util.AbstractQueue.add(AbstractQueue.java:71)
at TestFQueue2.main(TestFQueue2.java:27)
Original issue reported on code.google.com by jiezhip...@gmail.com on 22 Mar 2013 at 6:55
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
jiezhip...@gmail.com
on 22 Mar 2013 at 6:55The text was updated successfully, but these errors were encountered: