Skip to content

Releases: brantburnett/couchbase-index-manager

Update dependencis for security vulnerabilities

28 Aug 13:14
aa352e0
Compare
Choose a tag to compare
0.7.2

Update dependencis for security vulnerabilities (#51)

Security Upgrades

05 Jun 12:56
a98b665
Compare
Choose a tag to compare
Security Upgrades Pre-release
Pre-release
0.7.1

Update NPM key for publish

New "validate" command

26 Aug 15:37
a605c3a
Compare
Choose a tag to compare
Pre-release

The new "validate" command can be used by CI processes to validate index definition files, in advance of applying them to an actual cluster. For example, pull requests for index changes could validate that the definition files are valid before allowing the pull request to be merged.

Breaking Change
Validation of index definitions is now stricter for the "sync" command as well. For example, truthiness is no longer sufficient for boolean properties, they must be true or false.

0.6.1: Reverse order of PARTITION and WHERE clauses (#39)

21 Jun 14:38
Compare
Choose a tag to compare
Motivation
-------------
WHERE clause was being added before the PARTITION clause in cases where both were used, causing invalid N1QL to be generated.

Modifications
------------------
Moved the addition of the WHERE clause to be after the PARTITION clause (if any) is added.

Limit Node.js version to 8 in Travis

Index Collation and Partitions, Oh My!

19 Apr 15:12
85689f0
Compare
Choose a tag to compare
Pre-release
  • Support for DESC index collations
  • Support for partitioned indexes in Couchbase 5.5 Beta
  • Improved plan output for Update items
  • Issue Update items for reducing automatic replicas to zero

0.5.0: Issue #24: Use Couchbase to perform index def normalization (#26)

16 Apr 20:35
7ff7b98
Compare
Choose a tag to compare
Motivation
----------
Reduce occurences of index updates when there aren't actually any index
changes by normalizing index_key and condition using the same approach
as Couchbase.

Modifications
-------------
Instead of normalizing as the index definition is built, normalize once
(and asynchronously) before generating mutations.

Perform normalization by using EXPLAIN to get the query plan for
creating the index and analyzing the output plan.

Results
-------
index_key and condition are now prenormalized by Couchbase before
comparing to the existing index, preventing unnecessary index updates.

0.4.1: Issue #21: Correct update node format for manual replicas (#22)

15 Apr 16:14
0fea25a
Compare
Choose a tag to compare
Motivation
----------
Updating manual replicas is showing nodes for all replicas, not just the
specific replica being updated.

Modifications
-------------
Use withClause so that the display is for the specific nodes on this
update.

Show both the current and new node assignments.

Results
-------
Information is now accurate.

Replicas on the Move

12 Apr 19:22
e438845
Compare
Choose a tag to compare
Replicas on the Move Pre-release
Pre-release

This release adds support for:

  • Automatic replica scaling on CB >= 5.0 as an unsafe
    operation
  • Automatic replica moving on CB >= 5.5 as a safe operation,
    moves are skipped with a warning on 5.0 and 5.1.
  • Manual replica scaling and moving, and is safe so long as
    there is at least one replica.
  • Other update operations, such as index_key and condition, are now safe
    operations for any index with at least one replica and running in manual
    replica mode.

Show Index Build Timings

26 Mar 16:08
8a2a45a
Compare
Choose a tag to compare
Pre-release
Show timings during index builds (#13)

Motivation
----------
If you are watching a couchbase-index-manager via `kubectl logs` there
is a 5 minute timeout if there is no console output.

Modifications
-------------
Include an ongoing status output every 10 seconds during the index build
process.

Results
-------
Kubernetes logs should no longer timeout waiting for index build.

Replica Management Improvements

17 Mar 00:07
4d80072
Compare
Choose a tag to compare
Pre-release
  • Add node maps to definitions (#10)
  • Use manual replicas on Couchbase 5.X clusters (#9)