aerospike-server | Aerospike Database Server – | Database library

 by   aerospike C Version: 6.0.0.16 License: Non-SPDX

kandi X-RAY | aerospike-server Summary

kandi X-RAY | aerospike-server Summary

aerospike-server is a C library typically used in Database, MongoDB applications. aerospike-server has no bugs, it has no vulnerabilities and it has medium support. However aerospike-server has a Non-SPDX License. You can download it from GitHub.

Welcome to the Aerospike Database Server source code tree!.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              aerospike-server has a medium active ecosystem.
              It has 854 star(s) with 152 fork(s). There are 51 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 4 open issues and 30 have been closed. On average issues are closed in 224 days. There are 5 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of aerospike-server is 6.0.0.16

            kandi-Quality Quality

              aerospike-server has 0 bugs and 0 code smells.

            kandi-Security Security

              aerospike-server has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              aerospike-server code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              aerospike-server has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              aerospike-server releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.
              It has 1194 lines of code, 1 functions and 6 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of aerospike-server
            Get all kandi verified functions for this library.

            aerospike-server Key Features

            No Key Features are available at this moment for aerospike-server.

            aerospike-server Examples and Code Snippets

            No Code Snippets are available at this moment for aerospike-server.

            Community Discussions

            QUESTION

            Is it possible to issue a durable delete in Aerospike with asinfo using 'truncate'?
            Asked 2020-Mar-11 at 15:29

            I wanted to avoid using Aerospike clients (e.g. for Python) and delete records from a set using native asinfo command 'truncate' as it allows to do it quickly. But after I restarted Aerospike all deleted records were back. I saw this aerospike: delete all record in a set but it doesn't answer my question. Neither does this page from AS docs. It says, that a tombstone should be written after a durable delete, do I have to create it manually or are there some other ways?

            UPD: Thanks to @kporter who provided the accepted answer below I was able to look into differences between Community and Enterprise edition of Aerospike and found more information on the problem, some may find it helpful as well:

            If I understood all of it correctly the best way to get your records deleted completely in CE is to ensure that they have right TTL and can expire naturally. And if for some reason you have a lot of old records without TTL as in my case, you can issue truncate command via asinfo and do not restart AS server until data on SSD is eventually overwritten. Or just truncate sets with old records on every restart.

            Also I wonder if it is possible to wipe AS storage completely and then restore it from a backup of already truncated data as an emergency measure?

            UPD1: So, I was able to wipe SSD with Aerospike storage and restore only needed records from a backup. Here is how I did it:

            • Firstly, you need to remove old records from sets via asinfo and truncate command, links to docs are above
            • Then backup namespaces you want to save with asbackup
            • Stop your AS server, mine was in Docker container, so I just stopped said container
            • Zero out the disk that is used as AS storage, mine was /dev/sdb
            • Create necessary partitions on this disk
            • Start AS server
            • Restore data from the backup using arestore

            Useful links: how to remove and clean up an aerospike server installation, AS docs on SSD setup

            I am not sure if it is a good solution for large production setups but it worked as intended in my case with only one AS node and an opportunity to stop it for a while. This way I was able to reduce the size of data in my AS from 160Gb to 11Gb and because of that my server now fully restarts only in half an hour instead of approximately eight hours as before.

            ...

            ANSWER

            Answered 2020-Mar-10 at 18:31

            You can find more information about truncating a set here: https://www.aerospike.com/docs/operations/manage/sets/

            As mentioned there, truncation is not durable in Aerospike Community.

            In the Enterprise Edition, truncation is durable and preserves record deletions through a cold-restart. In the Community Edition, similar to record deletes, records in previously truncated sets are not durable and deletes can return through a cold-start.

            Source https://stackoverflow.com/questions/60623565

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install aerospike-server

            The Aerospike Database Server can be built and deployed on various current 64-bit GNU/Linux platform versions, such as Centos 7, Red Hat Enterprise Linux 8, Debian 8 or later, and Ubuntu 18.04 or later.
            Note: You can use the -j option with make to speed up the build on multiple CPU cores. For example, to run four parallel jobs:.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/aerospike/aerospike-server.git

          • CLI

            gh repo clone aerospike/aerospike-server

          • sshUrl

            git@github.com:aerospike/aerospike-server.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link