Skip to content

Commit

Permalink
Merge pull request #4 from VoIPGRID/feature/migrate-remaining-dayly-t…
Browse files Browse the repository at this point in the history
…ables-rocks

Feature/migrate remaining dayly tables rocks
  • Loading branch information
hafkensite authored Oct 8, 2024
2 parents 60a4bcc + 40c262f commit 99d9ec5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
go-version: 1.23

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/sipcapture/heplify-server

go 1.17
go 1.23

require (
github.com/VictoriaMetrics/fastcache v1.5.7
Expand Down
6 changes: 3 additions & 3 deletions rotator/mariafiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ var tbldatalogmaria = []string{
PRIMARY KEY (id,date),
KEY date (date),
KEY correlationid (correlation_id(255))
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=8
) ENGINE=RocksDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=8
PARTITION BY RANGE ( UNIX_TIMESTAMP(date) ) (
PARTITION {{date}}_{{minTime}} VALUES LESS THAN ( UNIX_TIMESTAMP('{{endTime}}') )
);`,
Expand All @@ -207,7 +207,7 @@ var tbldataqosmaria = []string{
PRIMARY KEY (id,date),
KEY date (date),
KEY correlationid (correlation_id(255))
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=8
) ENGINE=RocksDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=8
PARTITION BY RANGE ( UNIX_TIMESTAMP(date) ) (
PARTITION {{date}}_{{minTime}} VALUES LESS THAN ( UNIX_TIMESTAMP('{{endTime}}') )
);`,
Expand All @@ -229,7 +229,7 @@ var tbldataqosmaria = []string{
PRIMARY KEY (id,date),
KEY date (date),
KEY correlationid (correlation_id(255))
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=8
) ENGINE=RocksDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=8
PARTITION BY RANGE ( UNIX_TIMESTAMP(date) ) (
PARTITION {{date}}_{{minTime}} VALUES LESS THAN ( UNIX_TIMESTAMP('{{endTime}}') )
);`,
Expand Down

0 comments on commit 99d9ec5

Please sign in to comment.