Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hivemind
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
hive
hivemind
Commits
11703ca3
Commit
11703ca3
authored
7 years ago
by
Tim
Browse files
Options
Downloads
Patches
Plain Diff
add checkpoints dir and readme
parent
5fdbbaf5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+6
-0
6 additions, 0 deletions
.gitignore
checkpoints/README.md
+17
-0
17 additions, 0 deletions
checkpoints/README.md
with
23 additions
and
0 deletions
.gitignore
+
6
−
0
View file @
11703ca3
# Ignore hive checkpoint files
checkpoints/*.json.lst
# OSX
.DS_Store
# Byte-compiled / optimized / DLL files
# Byte-compiled / optimized / DLL files
__pycache__/
__pycache__/
*.py[cod]
*.py[cod]
...
...
This diff is collapsed.
Click to expand it.
checkpoints/README.md
0 → 100644
+
17
−
0
View file @
11703ca3
# Hive Checkpoints
`hive`
will detect checkpoint files in this directory. They can be used to speed up core reindexing: it will check this directory on startup.
### Format
Files should be named
`(block_num).json.lst`
where
`block_num`
is the last block in the file.
The first file must begin with block 1. Successive files must begin with the previous file's block_num, plus 1.
e.g.:
-
1000000.json.lst -- blocks 1 - 1,000,000
-
2000000.json.lst -- blocks 1,000,001 - 2,000,000
-
3000000.json.lst -- blocks 2,000,001 - 3,000,000
The intervals do not need to be regular, but blocks
*must*
be successive and there must be no duplicates.
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