Noah Hilverling
|
1282df748f
|
Change ID fields to match SQL schema
|
2021-05-18 09:42:46 +02:00 |
|
Noah Hilverling
|
586e99a548
|
types.AcknowledgementState: Fix state map
|
2021-05-17 09:39:29 +02:00 |
|
Alexander A. Klimov
|
b31e012cf0
|
Sync overdue indicators
|
2021-05-12 18:51:13 +02:00 |
|
Eric Lippmann
|
7fa8147303
|
Merge pull request #34 from lippserd/bugfix/cv-flat-nil
Flat CVs: represent null as "null", not "<nil>"
|
2021-05-12 14:16:49 +02:00 |
|
Eric Lippmann
|
2bf0aac846
|
Merge pull request #46 from lippserd/feature/configurable-concurrency
Add configuration options for MySQL/Redis concurrency and bulk sizes
|
2021-05-12 14:12:24 +02:00 |
|
Alexander A. Klimov
|
188ce4cb4b
|
Flat CVs: represent null as "null", not "<nil>"
|
2021-05-12 12:08:13 +02:00 |
|
Julian Brost
|
f82de0c1a9
|
Make Redis/MySQL concurrency and batch sizes configurable
|
2021-05-12 11:54:36 +02:00 |
|
Eric Lippmann
|
da030805b5
|
Merge pull request #37 from lippserd/sync-cv-flat
Sync customvar flat
|
2021-05-11 20:08:09 +02:00 |
|
Eric Lippmann
|
58f80bc8d8
|
Introduce objectpacker.MustPackAny()
|
2021-05-11 16:40:08 +02:00 |
|
Eric Lippmann
|
ac9aa0365a
|
Remove time taken debug log for named queries
|
2021-05-11 16:40:08 +02:00 |
|
Eric Lippmann
|
bf27824980
|
Remove NewCustomvar from Factories
We now explicitly sync it in main.go.
|
2021-05-11 16:40:08 +02:00 |
|
Eric Lippmann
|
e71833defb
|
Flatten: Fix keys
|
2021-05-11 16:40:08 +02:00 |
|
Eric Lippmann
|
52e5eb774e
|
Sync customvar flat
|
2021-05-11 16:40:08 +02:00 |
|
Eric Lippmann
|
f4ec939b9f
|
Add func icingadb.v1.FlattenCustomvars()
|
2021-05-11 16:40:08 +02:00 |
|
Eric Lippmann
|
766740974f
|
Precise log messages
|
2021-05-11 16:40:08 +02:00 |
|
Eric Lippmann
|
850de4d371
|
Remove log message
|
2021-05-11 16:40:08 +02:00 |
|
Eric Lippmann
|
eea1d0e486
|
Fix race
|
2021-05-11 16:40:08 +02:00 |
|
Eric Lippmann
|
9c86198302
|
Remove icingadb.Sync.fromRedis()
|
2021-05-11 16:40:08 +02:00 |
|
Eric Lippmann
|
5550c47be3
|
Add NewCustomvarFlat()
|
2021-05-11 16:40:08 +02:00 |
|
Eric Lippmann
|
7c70a72991
|
Introduce icingadb.Sync.ApplyDelta()
|
2021-05-11 16:40:08 +02:00 |
|
Eric Lippmann
|
34363e19ac
|
Expect common.SyncSubject in icingadb.Delta
|
2021-05-11 16:40:08 +02:00 |
|
Eric Lippmann
|
442e04bbf1
|
Use type common.SyncSubject
|
2021-05-11 16:40:08 +02:00 |
|
Eric Lippmann
|
51d2532f18
|
Introduce func icingaredis.Client.YieldAll()
|
2021-05-11 16:40:08 +02:00 |
|
Eric Lippmann
|
961a3650e8
|
Introduce type common.SyncSubject
|
2021-05-11 16:40:08 +02:00 |
|
Eric Lippmann
|
420193f228
|
Merge pull request #50 from lippserd/bugfix/obj-pack-bytes
PackAny(): support types.Binary
|
2021-05-11 13:53:54 +02:00 |
|
Alexander A. Klimov
|
40c18e3492
|
PackAny(): Golangify spec doc
|
2021-05-10 14:01:52 +02:00 |
|
Alexander A. Klimov
|
a6da8ab90a
|
PackAny(): pack [I]byte as string in map keys as well
|
2021-05-10 13:15:34 +02:00 |
|
Alexander A. Klimov
|
c8fa629f32
|
PackAny(): restore unit test case
|
2021-05-10 12:38:54 +02:00 |
|
Alexander A. Klimov
|
1b4b207465
|
PackAny(): enhance code docs
|
2021-05-10 12:35:23 +02:00 |
|
Alexander A. Klimov
|
9df2f9d7e6
|
PackAny(): panic() explicitly, not due to a programming error
|
2021-05-10 12:13:24 +02:00 |
|
Eric Lippmann
|
feda71f06d
|
Merge pull request #49 from lippserd/bugfix/ha-error-handling
Handle HA errors
|
2021-05-07 14:54:33 +02:00 |
|
Julian Brost
|
ae743817da
|
Add comment explaining the purpose of ha.Close()
|
2021-05-07 14:51:58 +02:00 |
|
Julian Brost
|
e0d66fe0ee
|
Exit with an error code if not exiting due to a signal
Icinga DB should not exit with code 0 if it does so due to an error.
|
2021-05-07 14:51:58 +02:00 |
|
Eric Lippmann
|
a1ceeeb9eb
|
Merge pull request #36 from lippserd/feature/runtime-updates
Implement runtime updates
|
2021-05-07 14:37:56 +02:00 |
|
Alexander A. Klimov
|
23127e3245
|
PackAny(): disallow types recursively more strictly
|
2021-05-07 12:38:18 +02:00 |
|
Alexander A. Klimov
|
a66cfca9c8
|
PackAny(): support numbers only as float64
|
2021-05-07 12:16:09 +02:00 |
|
Eric Lippmann
|
345bcb952f
|
Runtime updates must wait for config sync to complete
|
2021-05-07 12:04:41 +02:00 |
|
Noah Hilverling
|
91a8228e2d
|
Implement runtime updates
|
2021-05-07 12:04:41 +02:00 |
|
Julian Brost
|
3649b367e1
|
Handle HA errors
|
2021-05-07 11:46:45 +02:00 |
|
Eric Lippmann
|
f84c882b28
|
Merge pull request #52 from lippserd/bugfix/ctx-cancel
Remove always-false if
|
2021-05-07 11:08:48 +02:00 |
|
Alexander A. Klimov
|
ff6ae994d2
|
Remove always-false if
|
2021-05-07 11:06:54 +02:00 |
|
Eric Lippmann
|
beaa5515cf
|
Merge pull request #51 from lippserd/bugfix/usergroup-member-wrong-json-tag
Fix UsergroupMember.UserId JSON tag
|
2021-05-07 09:22:34 +02:00 |
|
Noah Hilverling
|
cf195c9b98
|
Fix UsergroupMember.UserId JSON tag
|
2021-05-07 09:18:41 +02:00 |
|
Alexander A. Klimov
|
ab43673593
|
PackAny(): support types.Binary
|
2021-05-06 18:00:47 +02:00 |
|
Alexander A. Klimov
|
bb850ddb5d
|
PackAny(): pack []byte as string, not array of numbers
|
2021-05-06 17:53:54 +02:00 |
|
Noah Hilverling
|
ca9936e5b6
|
icingadb.DB: Rename functions that take a channel to *Streamed()
|
2021-05-04 14:30:53 +02:00 |
|
Noah Hilverling
|
25558f9827
|
icingadb.DB: Add Delete() and DeleteStreamed()
|
2021-05-04 14:30:23 +02:00 |
|
Eric Lippmann
|
a5d446bc76
|
Merge pull request #47 from lippserd/feature/object-packer
Introduce PackAny()
|
2021-05-04 13:53:38 +02:00 |
|
Noah Hilverling
|
4b56dd1de2
|
com.Bulker: Change type from contracts.Entity to interface{}
|
2021-05-04 11:46:33 +02:00 |
|
Noah Hilverling
|
507a414ca7
|
Add com.EntityBulker
|
2021-05-04 11:46:33 +02:00 |
|