check item thread_stack_size in storage.conf
parent
f412329e2e
commit
3f77aa8f42
4
HISTORY
4
HISTORY
|
|
@ -1,7 +1,9 @@
|
|||
|
||||
Version 5.06 2014-12-04
|
||||
Version 5.06 2015-05-12
|
||||
* compile passed in mac OS Darwin
|
||||
* correct scripts in subdir init.d
|
||||
* check item thread_stack_size in storage.conf, you must
|
||||
upgrade libfastcommon to V1.14 or later
|
||||
|
||||
Version 5.05 2014-11-22
|
||||
* tracker_mem.c log more info
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
%define FDFSServer fastdfs-server
|
||||
%define FDFSClient libfdfsclient
|
||||
%define FDFSTool fastdfs-tool
|
||||
%define FDFSVersion 5.0.5
|
||||
%define FDFSVersion 5.0.6
|
||||
|
||||
Name: %{FastDFS}
|
||||
Version: %{FDFSVersion}
|
||||
|
|
|
|||
|
|
@ -1530,12 +1530,12 @@ int storage_func_init(const char *filename, \
|
|||
}
|
||||
g_thread_stack_size = (int)thread_stack_size;
|
||||
|
||||
if (g_thread_stack_size < 64 * 1024)
|
||||
if (g_thread_stack_size < FAST_WRITE_BUFF_SIZE + 64 * 1024)
|
||||
{
|
||||
logError("file: "__FILE__", line: %d, " \
|
||||
"item \"thread_stack_size\" %d is invalid, " \
|
||||
"which < %d", __LINE__, g_thread_stack_size, \
|
||||
64 * 1024);
|
||||
FAST_WRITE_BUFF_SIZE + 64 * 1024);
|
||||
result = EINVAL;
|
||||
break;
|
||||
}
|
||||
|
|
@ -2155,7 +2155,7 @@ int recv_file_serialized(int sock, const char *filename, \
|
|||
const int64_t file_bytes)
|
||||
{
|
||||
int fd;
|
||||
char buff[FDFS_WRITE_BUFF_SIZE];
|
||||
char buff[FAST_WRITE_BUFF_SIZE];
|
||||
int64_t remain_bytes;
|
||||
int recv_bytes;
|
||||
int result;
|
||||
|
|
|
|||
Loading…
Reference in New Issue