-
Notifications
You must be signed in to change notification settings - Fork 662
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: pickle shelffile -> standard_address_space.sql #763
Open
brubbel
wants to merge
19
commits into
FreeOpcUa:master
Choose a base branch
from
brubbel:sqlite-address-space-2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Dec 17, 2019
-
pickle shelffile -> standard_address_space.sql
Refactoring the shelffile from a monolithic blob to sqlite3 db. Advantages over pickle: - Fast - Small (25% of fill_address_space code) - Not dependent on Python2/3 version - Supports transactional read/(write TODO) - Supports real-time persistence of user address-space (TODO) - Strong typed: only INTEGER, TEXT and opc-ua to_binary() BLOB - Drop-in replacement for memory-based AddressSpace Built-in integrity check on generate_address_space.py dump.
Configuration menu - View commit details
-
Copy full SHA for 8366780 - Browse repository at this point
Copy the full SHA 8366780View commit details -
Configuration menu - View commit details
-
Copy full SHA for cbb9783 - Browse repository at this point
Copy the full SHA cbb9783View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32184eb - Browse repository at this point
Copy the full SHA 32184ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b8fa89 - Browse repository at this point
Copy the full SHA 9b8fa89View commit details -
Configuration menu - View commit details
-
Copy full SHA for c728fc5 - Browse repository at this point
Copy the full SHA c728fc5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8eb77dd - Browse repository at this point
Copy the full SHA 8eb77ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6c1c59 - Browse repository at this point
Copy the full SHA f6c1c59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bf6e78 - Browse repository at this point
Copy the full SHA 8bf6e78View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea53097 - Browse repository at this point
Copy the full SHA ea53097View commit details -
Configuration menu - View commit details
-
Copy full SHA for 036dd2d - Browse repository at this point
Copy the full SHA 036dd2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6841e13 - Browse repository at this point
Copy the full SHA 6841e13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b256a5 - Browse repository at this point
Copy the full SHA 2b256a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f5803c - Browse repository at this point
Copy the full SHA 5f5803cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ecf6d6 - Browse repository at this point
Copy the full SHA 3ecf6d6View commit details -
Fix: sqlite3.OperationalError: database is locked
Multiprocessing causes locking error when write and commits from multiple threads are interleaved. Make sure that commits are performed under the same Lock() session.
Configuration menu - View commit details
-
Copy full SHA for 0fbcc00 - Browse repository at this point
Copy the full SHA 0fbcc00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96caf71 - Browse repository at this point
Copy the full SHA 96caf71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e2fe7e - Browse repository at this point
Copy the full SHA 9e2fe7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 814d69a - Browse repository at this point
Copy the full SHA 814d69aView commit details -
generate_nodeid now generates random id's
Since the sqlite address-space is lazy loading, the old approach with incremental identifiers is very slow, as it requires loading the complete address space in memory before the highest identifier is found. Generating a random uid and checking if it already exists in the address space is much faster, especially for hunderds of nodes.
Configuration menu - View commit details
-
Copy full SHA for 6007393 - Browse repository at this point
Copy the full SHA 6007393View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.