NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules
Go modules, #3264 by repository stars
Latest stable
v1.9.7
Last release 2 years ago
no release in 18 months
Ships on a steady schedule
a new release about every 8 days
Nearly every release is documented
notes for 26 of 26 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
93 releases · first in 2024
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
On closure of pager escalate write sync.
K4 v1.9.7 PATCH
Update to pager which is used for WAL, and SSTables to periodically sync to disk.
K4 v1.9.6 PATCH
New pager constants
const SYNC_TICK_INTERVAL = 1 * time.Second // tick interval for syncing the file
const SYNC_ESCALATION = 1 * time.Minute // if the file is not synced in 1 minute, sync it
const WRITE_THRESHOLD = 24576 // every 24576 writes, sync the file
New periodic sync method
func (p *Pager) startPeriodicSync() {
defer p.wg.Done()
p.once.Do(func() {
ticker := time.NewTicker(SYNC_TICK_INTERVAL)
defer ticker.Stop()
for {
select {
case <-ticker.C:
if p.writeCounter < WRITE_THRESHOLD {
if time.Since(p.lastSync) < SYNC_ESCALATION { // check if the file is synced in SYNC_ESCALATION
continue
} // if the file is not synced in SYNC_ESCALATION, sync it
}
err := p.file.Sync()
if err != nil {
return
}
p.lock.Lock()
p.writeCounter = 0
p.lastSync = time.Now()
p.lock.Unlock()
case <-p.stopSync:
return
}
}
})
}
https://github.com/guycipher/k4/commit/2bc1ab4675757b36d88261a5707eb7de82e956a9
Reddit discussion https://www.reddit.com/r/databasedevelopment/comments/1gk18nd/comment/lvkomdj/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
Nothing published for this version
Bumping version as we were gonna go to version 2 but refrained from it as we did not want to change project structure. The package at pkg.go.dev was r
K4 v1.9.5 PATCH
pkg.go.dev was referring to an old repository so we are bumping to v1.9.5 to fix this.Nothing published for this version
TTL if set of keys is now persisted through to SSTables as well.
K4 v1.9.4 PATCH BREAKING
All tests PASSED
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Finalization of K4 Iterator and it's Next and Prev methods.
K4 v1.9.3 PATCH
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Iterator implementation for K4 instances. i.e ```go it := NewIterator(db)
K4 v1.9.2 PATCH
it := NewIterator(db)
for {
key, value := it.Next()
if key == nil {
break
}
// .. You can also go back if you want
key, value = it.Prev()
if key == nil {
break
}
}
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
better comparisons with bytes across all retrieval functions using new methods greaterThan, lessThan, and to use bytes.Equal instead of bytes.Compare
K4 v1.9.1 PATCH
greaterThan, lessThan, and to use bytes.Equal instead of bytes.Compare for efficiency at the byte level.Nothing published for this version
Replaced bloom filter with hashset. The bloom filter was fine but we want efficiency and predictability with read operations, thus it was decided to r
K4 v1.9.0 BREAKING MINOR
Nothing published for this version
Bloom filter configurations for less false positives.
K4 v1.8.3 BREAKING PATCH
Nothing published for this version
Bloom filter corrections for dynamically resizing.
K4 v1.8.2 BREAKING PATCH
Nothing published for this version
Adjustment to bloom filter to automatically and dynamically resize if need be. We don't want to limit the size.
K4 v1.8.1 BREAKING PATCH
Nothing published for this version
Nothing published for this version
Murmur3 hash implementation and usage on compressor package and bloom filter package. This is better due to its speed and lower collision rate.
K4 v1.8.0 BREAKING MINOR
Nothing published for this version
Remove parallel compaction, too much contention. Caused unreliability and unnecessary slowdowns
K4 v1.7.0 BREAKING MINOR
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Adding locks for newSStables, and sstableIndexesToRemove, to prevent any kind of race conditions whilst multi-routine compaction is occuring.
K4 v1.6.3 BREAKING PATCH
Nothing published for this version
we should keep track of merged sstables and what sstables are being added and do the shifting around of whats been removed and what has to be added af
K4 v1.6.2 BREAKING PATCH
Nothing published for this version
K4 flushMemtable method patch. We should not be adding keys to a bloom filter if the value of the key is a tombstone.
K4 v1.6.1 BREAKING PATCH
One column per month.