Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tarantool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
core
tarantool
Commits
e6a1f640
Commit
e6a1f640
authored
12 years ago
by
Konstantin Osipov
Browse files
Options
Downloads
Plain Diff
Merge branch 'workdir-fix'
parents
6619d488
4e7f8af4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
test/CMakeLists.txt
+10
-3
10 additions, 3 deletions
test/CMakeLists.txt
test/share/tarantool.cfg
+45
-0
45 additions, 0 deletions
test/share/tarantool.cfg
test/share/tarantool_tgz.cfg
+49
-0
49 additions, 0 deletions
test/share/tarantool_tgz.cfg
with
104 additions
and
3 deletions
test/CMakeLists.txt
+
10
−
3
View file @
e6a1f640
...
...
@@ -8,13 +8,20 @@ add_subdirectory(box)
add_subdirectory
(
connector_c
)
if
(
"
${
CPACK_GENERATOR
}
"
STREQUAL
"RPM"
)
install
(
FILES
${
CMAKE_SOURCE_DIR
}
/test/
box
/tarantool.cfg
install
(
FILES
${
CMAKE_SOURCE_DIR
}
/test/
share
/tarantool.cfg
DESTINATION etc
)
install
(
FILES
${
CMAKE_SOURCE_DIR
}
/test/box/00000000000000000001.snap
DESTINATION share/tarantool
)
else
()
install
(
FILES
${
CMAKE_SOURCE_DIR
}
/test/box/tarantool.cfg
DESTINATION
"
${
CMAKE_SYSCONF_DIR
}
"
)
if
(
NOT CPACK_GENERATOR OR
"
${
CPACK_GENERATOR
}
"
STREQUAL
"TGZ"
)
install
(
FILES
${
CMAKE_SOURCE_DIR
}
/test/share/tarantool_tgz.cfg
DESTINATION
"
${
CMAKE_SYSCONF_DIR
}
"
RENAME
"tarantool.cfg"
)
else
()
install
(
FILES
${
CMAKE_SOURCE_DIR
}
/test/share/tarantool.cfg
DESTINATION
"
${
CMAKE_SYSCONF_DIR
}
"
)
endif
()
install
(
FILES
${
CMAKE_SOURCE_DIR
}
/test/box/00000000000000000001.snap
DESTINATION
"
${
CMAKE_LOCALSTATE_DIR
}
/lib/tarantool"
)
endif
()
This diff is collapsed.
Click to expand it.
test/share/tarantool.cfg
0 → 100644
+
45
−
0
View file @
e6a1f640
#
# Limit of memory used to store tuples to 100MB
# (0.1 GB)
# This effectively limits the memory, used by
# Tarantool. However, index and connection memory
# is stored outside the slab allocator, hence
# the effective memory usage can be higher (sometimes
# twice as high).
slab_alloc_arena
=
0.1
#
# Store the pid in this file. Relative to
# startup dir.
pid_file
=
"box.pid"
#
# Pipe the logs into the following process.
logger
=
"cat - >> tarantool.log"
#
# Read only and read-write port.
primary_port
=
33013
#
# Read-only port.
secondary_port
=
33014
#
# The port for administrative commands.
admin_port
=
33015
#
# Each write ahead log contains this many rows.
# When the limit is reached, Tarantool closes
# the WAL and starts a new one.
rows_per_wal
=
50000
#
# Define a simple space with 1 HASH-based
# primary key.
space
[0]
.enabled
=
1
space
[0]
.index
[0]
.type
=
"HASH"
space
[0]
.index
[0]
.unique
=
1
space
[0]
.index
[0]
.key_field
[0]
.fieldno
=
0
space
[0]
.index
[0]
.key_field
[0]
.type
=
"NUM"
This diff is collapsed.
Click to expand it.
test/share/tarantool_tgz.cfg
0 → 100644
+
49
−
0
View file @
e6a1f640
#
# Limit of memory used to store tuples to 100MB
# (0.1 GB)
# This effectively limits the memory, used by
# Tarantool. However, index and connection memory
# is stored outside the slab allocator, hence
# the effective memory usage can be higher (sometimes
# twice as high).
slab_alloc_arena
=
0.1
#
# Store the pid in this file. Relative to
# startup dir.
pid_file
=
"box.pid"
#
# Pipe the logs into the following process.
logger
=
"cat - >> tarantool.log"
#
# Read only and read-write port.
primary_port
=
33013
#
# Read-only port.
secondary_port
=
33014
#
# The port for administrative commands.
admin_port
=
33015
#
# Each write ahead log contains this many rows.
# When the limit is reached, Tarantool closes
# the WAL and starts a new one.
rows_per_wal
=
50000
#
# Define a simple space with 1 HASH-based
# primary key.
space
[0]
.enabled
=
1
space
[0]
.index
[0]
.type
=
"HASH"
space
[0]
.index
[0]
.unique
=
1
space
[0]
.index
[0]
.key_field
[0]
.fieldno
=
0
space
[0]
.index
[0]
.key_field
[0]
.type
=
"NUM"
#
# working directory (daemon will chdir(2) to it)
work_dir
=
"var/lib/tarantool"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment