Questions tagged [aerospike-ce]

Aerospike Community Edition

Aerospike Community Edition is a FOSS edition of Aerospike licensed under the AGPL. The Community Edition has several notable limitations in comparison to the Enterprise licensed under a proprietary commercial license. The Community Edition provides no support for authentication and has some limitations on "durable deletes".

41 questions
3
votes
2 answers

Aerospike set expiration date for specific field

I have an Aerospike cache consists of list of data with value of json like structure. example value: {"name": "John", "count": 10} I was wandering if it is possible to set an expiration time for only the count field and reset it after some time.
tsadkan yitbarek
  • 1,360
  • 2
  • 11
  • 28
3
votes
1 answer

Need help on creating a UDF, returning "Unable to create a new Lua state"

I need to ask a question on creating UDF on aerospike. My configuration is as below: M1 Macbook Pro Docker using latest aerospike My application is running this code: AerospikeClient.RegisterUDF(nil, []byte({UDF_BODY}), {UDF_FILENAME}+".lua",…
3
votes
1 answer

Aerospike Parameter Error when appending to list

WritePolicy writePolicy = new WritePolicy(); writePolicy.expiration = ttl; Key keyObject = new Key(aerospikeNamespace, aerospikeSetName, key); com.aerospike.client.Value value = …
Nitin Vats
  • 33
  • 3
3
votes
1 answer

How to query the metadata(such as ttl) of record from aql?

Assume you have a set as follows: +-------+-------+ | PK | value | +-------+-------+ | "pk1" | 24 | +-------+-------+ 1 row in set (0.105 secs) How to get the metadata for this?
paradocslover
  • 2,932
  • 3
  • 18
  • 44
3
votes
2 answers

Select random bin from a set in Aerospike Query Language?

I want to select a sample of random 'n' bins from a set in the namespace. Is there a way to achieve this in Aerospike Query Language? In Oracle, we achieve something similar with the following query: SELECT * FROM sample block(10) where…
Siena
  • 778
  • 10
  • 23
3
votes
1 answer

Is it possible to issue a durable delete in Aerospike with asinfo using 'truncate'?

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:…
pltnk
  • 47
  • 2
  • 7
2
votes
1 answer

How to create Namespace and Set

I'm new to Aerospike.. How to create a New Namespace and new set.. I have gone thru some docs and videos but I didn't find any useful thing. i have read somewhere which is 5 years old blog, i.e. thru config file only we can create namespace and…
2
votes
1 answer

data loss detection in aerospike

If we have 6 number of partition with replication factor 2 and with paxos-single-replica-limit 3 (once we are down to 3 nodes, replication factor becomes 1). And all of a sudden 3 nodes die because of cascading effect. It might so happen that few…
best wishes
  • 5,789
  • 1
  • 34
  • 59
2
votes
1 answer

conditions to check if Aerospike cluster is being idle

Assuming aerospike is running, I need some conditions through which check weather aerospike cluster is idle and not being used at all. I tried checking log files but it also logs the heartbeat, so even ifaerospike is not running it will generate…
Sujay_ks
  • 47
  • 7
2
votes
1 answer

How to enable "scansEnabled" property of org.springframework.data.aerospike.config.AerospikeDataSettings?

I am using spring-data-aerospike dependency within my spring boot app to interact with Aerospike db. I ran into the follow error while using findAll() method of AerospikeRepository (which is synonymous to the findAll() method provided by…
dc-coder
  • 41
  • 2
2
votes
3 answers

Aerospike java client stores data even when the "set" name is null

I was debugging my code, and I found that this Aerospike java client code with the set name as "null" works and inserts data in aerospike: AerospikeClient client = new AerospikeClient("localhost", 3000); Key key = new Key("test", null,…
paradocslover
  • 2,932
  • 3
  • 18
  • 44
2
votes
2 answers

How to resolve Aerospike error, Operation not allowed at this time?

I am using Aerospike 4.8v and persisting my data on disk and I am making parallel write requests to aerospike, if i make 10 parallel requests then it works fine but when I make 100 parallel requests it gives error i.e. Operation not allowed at this…
Yash Tandon
  • 345
  • 5
  • 18
2
votes
2 answers

Aerospike: One of Three Nodes went down abruptly and writes are not happening

We are running 3 Node Cluster, data in memory on version 4.2.0.4 CE on AWS. We recently noticed writes are not happening and found one down. Ideally write should happen. Once we start the node which was down, the writes resumed. We are accessing…
Carbonrock
  • 457
  • 2
  • 15
2
votes
2 answers

Aerospike cluster behavior in different consistency mode?

I want to understand the behavior of aerospike in different consistancy mode. Consider a aerospike cluster running with 3 nodes and replication factor 3. AP modes is simple and it says Aerospike will allow reads and writes in every sub-cluster. And…
Abhijit
  • 631
  • 7
  • 13
2
votes
1 answer

Persisted Delete [Community Edition]

Is there a canonical way to guarantee deleted data stays deleted in the Community Edition? Especially for data with non-expiring ttls.
Icestorm
  • 197
  • 1
  • 1
  • 10
1
2 3