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
1d532dbb
Commit
1d532dbb
authored
9 years ago
by
ocelot-inc
Browse files
Options
Downloads
Plain Diff
Merge branch '1.6' of
https://github.com/tarantool/tarantool
parents
d5d22e97
64626e7b
Loading
Loading
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/box/lua/snapshot_daemon.lua
+5
-1
5 additions, 1 deletion
src/box/lua/snapshot_daemon.lua
src/module_header.h
+1
-0
1 addition, 0 deletions
src/module_header.h
test-run
+1
-1
1 addition, 1 deletion
test-run
test/box-tap/net.box.test.lua
+1
-1
1 addition, 1 deletion
test/box-tap/net.box.test.lua
with
8 additions
and
3 deletions
src/box/lua/snapshot_daemon.lua
+
5
−
1
View file @
1d532dbb
...
...
@@ -58,9 +58,13 @@ do
local
snap_name
=
sprintf
(
'%020d.snap'
,
tonumber
(
lsn
))
if
fio
.
basename
(
last_snap
)
==
snap_name
then
log
.
debug
(
'snapshot file %s already exists'
,
last_snap
)
if
daemon
.
last_snap_name
~=
snap_name
then
daemon
.
last_snap_name
=
snap_name
log
.
debug
(
'snapshot file %s already exists'
,
last_snap
)
end
return
false
end
daemon
.
last_snap_name
=
snap_name
local
snstat
=
fio
.
stat
(
last_snap
)
if
snstat
==
nil
then
...
...
This diff is collapsed.
Click to expand it.
src/module_header.h
+
1
−
0
View file @
1d532dbb
...
...
@@ -42,6 +42,7 @@
#include
<string.h>
/* strerror(3) */
#include
<stdint.h>
#include
<stdbool.h>
#include
<stdio.h>
/* ssize_t for Apple */
#include
<sys/types.h>
/* ssize_t */
/** Extern modifier for all public functions */
...
...
This diff is collapsed.
Click to expand it.
test-run
@
48553b23
Compare
afd6fd91
...
48553b23
Subproject commit
afd6fd91ce3f0ee851365096c87791edc05fb6ce
Subproject commit
48553b239420166e7f7c26dc01f0ec08c36778d6
This diff is collapsed.
Click to expand it.
test/box-tap/net.box.test.lua
+
1
−
1
View file @
1d532dbb
...
...
@@ -20,7 +20,7 @@ test:is(
)
-- check that net.box is correct without box.cfg{}
local
uri
=
inspector
:
eval
(
'second'
,
'box.cfg.listen'
)
.
result
[
1
]
local
uri
=
inspector
:
eval
(
'second'
,
'box.cfg.listen'
)[
1
]
local
conn
=
net_box
:
new
(
uri
)
test
:
is
(
conn
:
is_connected
(),
true
,
'connected to instance'
)
test
:
is
(
conn
.
space
~=
nil
,
true
,
'space exists'
)
...
...
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