Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mobject-store
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sds
mobject-store
Commits
7d08a206
Commit
7d08a206
authored
Apr 12, 2019
by
Shane Snyder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify ch-placement algorithm for better distrib.
parent
467e024e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/client/cluster.c
src/client/cluster.c
+1
-1
No files found.
src/client/cluster.c
View file @
7d08a206
...
@@ -148,7 +148,7 @@ int mobject_store_connect(mobject_store_t cluster)
...
@@ -148,7 +148,7 @@ int mobject_store_connect(mobject_store_t cluster)
// initialize ch-placement
// initialize ch-placement
cluster_handle
->
ch_instance
=
cluster_handle
->
ch_instance
=
ch_placement_initialize
(
"
hash_lookup3"
,
gsize
,
4
,
0
);
ch_placement_initialize
(
"
static_modulo"
,
gsize
,
0
,
0
);
if
(
!
cluster_handle
->
ch_instance
)
if
(
!
cluster_handle
->
ch_instance
)
{
{
fprintf
(
stderr
,
"Error: Unable to initialize ch-placement instance
\n
"
);
fprintf
(
stderr
,
"Error: Unable to initialize ch-placement instance
\n
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment