Skip to content
Snippets Groups Projects
Commit db7171fb authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

Fix a bug in index definition (bootstrap.snap).

parent 5c7cec36
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,7 @@ _index:insert{_priv.id, 0, 'primary', 'tree', 1, 3, 1, 'num', 2, 'str', 3, 'num'
-- owner index - to quickly find all privileges granted to a user
_index:insert{_priv.id, 1, 'owner', 'tree', 0, 1, 1, 'num'}
-- object index - to quickly find all grants on a given object
_index:insert{_priv.id, 2, 'object', 'tree', 0, 1, 2, 'str', 3, 'num'}
_index:insert{_priv.id, 2, 'object', 'tree', 0, 2, 2, 'str', 3, 'num'}
-- primary key: node id
_index:insert{_cluster.id, 0, 'primary', 'tree', 1, 1, 0, 'num'}
-- node uuid key: node uuid
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -168,7 +168,7 @@ _index:select{}
- [304, 2, 'name', 'tree', 1, 1, 2, 'str']
- [312, 0, 'primary', 'tree', 1, 3, 1, 'num', 2, 'str', 3, 'num']
- [312, 1, 'owner', 'tree', 0, 1, 1, 'num']
- [312, 2, 'object', 'tree', 0, 1, 2, 'str', 3, 'num']
- [312, 2, 'object', 'tree', 0, 2, 2, 'str', 3, 'num']
- [320, 0, 'primary', 'tree', 1, 1, 0, 'num']
- [320, 1, 'uuid', 'tree', 1, 1, 1, 'str']
...
......
......@@ -29,6 +29,10 @@ class AppServer(Server):
Server.__init__(self, ini)
self.testdir = os.path.abspath(os.curdir)
self.vardir = ini['vardir']
self.re_vardir_cleanup += [
"*.snap", "*.xlog", "*.inprogress",
"*.sup", "*.lua", "*.pid"]
self.cleanup()
self.builddir = ini['builddir']
self.debug = False
self.lua_libs = ini['lua_libs']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment