Skip to content

Commit

Permalink
Install metad configure files (vesoft-inc#13)
Browse files Browse the repository at this point in the history
Co-authored-by: yixinglu <[email protected]>
  • Loading branch information
nebula-bots and yixinglu authored Sep 2, 2021
1 parent 332ecc7 commit 59a2f23
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 21 deletions.
62 changes: 47 additions & 15 deletions conf/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,50 @@
# Copyright (c) 2021 vesoft inc. All rights reserved.
#
# This source code is licensed under Apache 2.0 License,
# attached with Common Clause Condition 1.0, found in the LICENSES directory.

# These configuration files are for reference to generate your own customized ones.
# Thus, they are installed as read-only, even for the owner.

install(
FILES
nebula-graphd.conf.default
nebula-graphd.conf.production
nebula-storaged.conf.default
nebula-storaged.conf.production
nebula-storaged-listener.conf.production
PERMISSIONS
OWNER_READ
GROUP_READ
WORLD_READ
DESTINATION
etc
COMPONENT
graph
)
FILES
nebula-graphd.conf.default
nebula-graphd.conf.production
PERMISSIONS
OWNER_READ
GROUP_READ
WORLD_READ
DESTINATION
etc
COMPONENT
graph
)

install(
FILES
nebula-metad.conf.default
nebula-metad.conf.production
PERMISSIONS
OWNER_READ
GROUP_READ
WORLD_READ
DESTINATION
etc
COMPONENT
meta
)

install(
FILES
nebula-storaged.conf.default
nebula-storaged.conf.production
nebula-storaged-listener.conf.production
PERMISSIONS
OWNER_READ
GROUP_READ
WORLD_READ
DESTINATION
etc
COMPONENT
storage
)
5 changes: 5 additions & 0 deletions scripts/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright (c) 2021 vesoft inc. All rights reserved.
#
# This source code is licensed under Apache 2.0 License,
# attached with Common Clause Condition 1.0, found in the LICENSES directory.

install(
FILES
nebula-storaged.service
Expand Down
12 changes: 6 additions & 6 deletions src/graph/context/ExecutionContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ class QueryInstance;
*
* The context is NOT thread-safe. The execution plan has to guarantee
* all accesses to context are safe by pre-allocate all place for variables in
*semantic analysis and the single variable is accessed sequentially in runtime,
*so don't add/delete variable in runtime it's safe to access The life span of
*the context is same as the request. That means a new context object will be
*created as soon as the query engine receives the query request. The context
*object will be visible to the parser, the planner, the optimizer, and the
*executor.
* semantic analysis and the single variable is accessed sequentially at runtime,
* so don't add/delete variable at runtime it's safe to access The life span of
* the context is same as the request. That means a new context object will be
* created as soon as the query engine receives the query request. The context
* object will be visible to the parser, the planner, the optimizer, and the
* executor.
*
**************************************************************************/
class ExecutionContext {
Expand Down

0 comments on commit 59a2f23

Please sign in to comment.