Commit graph

9113 commits

Author SHA1 Message Date
reesporte
25dce501fe
Merge pull request #1979 from molecula/test-delete
test delete
2022-03-15 16:11:23 -05:00
reesporte
fc41870dfe remove linux amd64 dependency
Co-authored-by: souhailanoor <90720110+souhailanoor@users.noreply.github.com>
2022-03-15 14:43:06 -05:00
reesporte
f690694e77 remove commented gitlab jobs, run only on merge to master 2022-03-15 14:43:06 -05:00
reesporte
c9c36f5fc6 WIP: start integration test setup
TODO:
- remove commented out gitlab jobs
- make it run only on merge to master
2022-03-15 14:43:06 -05:00
tgruben
1906709ce5
Merge pull request #1978 from molecula/decimal-field-fix
[FB-1257] decimal woes
2022-03-15 11:35:42 -05:00
Todd Gruben
dfe052aa1a increase test coverage 2022-03-15 11:01:03 -05:00
Todd Gruben
8c3c774492 ensure provided min/max are valid on int fields 2022-03-15 10:29:48 -05:00
Todd Gruben
739fd9b04b ensure provided min/max are valid 2022-03-15 09:33:27 -05:00
Todd Gruben
f7fb9f386e decimal wowes 2022-03-15 01:52:18 -05:00
reesporte
12f931d635
Merge pull request #1976 from molecula/internal-disk-usage
add /internal/disk-usage endpoint for testing
2022-03-14 15:42:51 -05:00
reesporte
5224612df3 add /internal/disk-usage endpoint for testing
will be used to ensure delete work doesn't result in an ever-inflating usage of
memory
2022-03-14 15:23:15 -05:00
tgruben
3135c40f17
Merge pull request #1970 from molecula/FB-1185
[FB-1185] Batch delete transactions
2022-03-14 15:06:45 -05:00
tgruben
3a59421e3b
Merge branch 'master' into FB-1185 2022-03-14 14:30:37 -05:00
Todd Gruben
f9ee18b8b0 review suggestions 2022-03-14 14:18:21 -05:00
Ben Johnson
00924a2834
Merge pull request #1975 from molecula/remove-worker-pool-mu
[FB-1250] Remove unnecessary worker pool mutex
2022-03-14 12:47:11 -06:00
tgruben
a54fded24a
Merge branch 'master' into FB-1185 2022-03-14 13:00:24 -05:00
Ben Johnson
01e8a59f76 Remove unnecessary worker pool mutex 2022-03-14 09:56:08 -06:00
hphamMolecula
9e3734e9cc
Merge pull request #1973 from molecula/fb-1188-ttl-info
FB-1188 - TTL - Better TTL logging info
2022-03-11 12:17:12 -06:00
Hoang Pham
6a2a0cf008 FB-1188 - TTL - run TtlRemoval on server start, better ttl log info message 2022-03-11 11:37:36 -06:00
rachithrr
05870bcc5b
Merge pull request #1921 from molecula/clustertest-retry-coverage-v2
FB-1159: Try to test etcd retry code
2022-03-11 07:29:18 -06:00
Todd Gruben
e64dde0b4c remove round trip 2022-03-11 06:20:07 -06:00
Todd Gruben
82d3f54a28 new delete flow to allow for qcx reset 2022-03-11 06:20:07 -06:00
Todd Gruben
e209759283 make maxdelete an optional param 2022-03-11 06:20:07 -06:00
Todd Gruben
1a8989a69b . 2022-03-11 06:20:07 -06:00
Todd Gruben
eff54f49a6 qcx finish/reset 2022-03-11 06:20:07 -06:00
Todd Gruben
dc7493ff75 optimize container after remove 2022-03-11 06:20:07 -06:00
Todd Gruben
d322cc7aef batch size 65536 2022-03-11 06:20:07 -06:00
rachithrr
d29f2d219a
Merge branch 'master' into clustertest-retry-coverage-v2 2022-03-10 17:14:39 -06:00
souhailanoor
ac450a0c95
Merge pull request #1969 from molecula/fb-1186-updates
FB-1186: make deletes concurrent
2022-03-10 17:11:23 -06:00
rachithrr
5059f37c01 Merge branch 'master' of github.com:molecula/featurebase into clustertest-retry-coverage-v2 2022-03-10 16:54:30 -06:00
rachithrr
e2ce9afce9 sonarcloud fix 2022-03-10 16:25:59 -06:00
souhailanoor
7c8fde3bd6
Merge branch 'master' into fb-1186-updates 2022-03-10 16:18:50 -06:00
Souhaila Noor
a7b849c5fa release read tx 2022-03-10 16:18:39 -06:00
Matthew Jaffee
85ea078e86
Merge pull request #1972 from molecula/remove-circle
Remove CircleCI config
2022-03-10 14:52:20 -06:00
souhailanoor
c67b8f6653
Merge branch 'master' into fb-1186-updates 2022-03-10 13:15:55 -06:00
Matthew Jaffee
92562e547e remove old circle CI config 2022-03-10 11:41:35 -06:00
rachithrr
bed6312129 clean up 2022-03-10 11:40:38 -06:00
Samir Patel
4baec78303
Merge pull request #1944 from molecula/bug-primary-ingest
[FB-1082] retry request on primary host
2022-03-10 12:23:47 -05:00
souhailanoor
c0db6670c9
Merge branch 'master' into fb-1186-updates 2022-03-10 10:29:35 -06:00
Samir Patel
48997347b9 add server side redirect to primary for ingest requests
this applies to handlePostIngestData, handlePostIngestSchema

also moves a helper method (ApplyOneIngestSchema) from
http handler to API
2022-03-10 10:22:13 -06:00
Samir Patel
17e8dbd318 client side retry ingestAPI requests on primary host
If non-primary host fails to process a request, retry on primary node.

conditions when we should not do this:
- no error
- we've aleady tried the primary
- we're making a status request to get the primary node...this
  could lead to lock contention if we allow it to happen as we are
  making an http request within an on going http request to discover
  the primary node.

This also deletes the RemoveHost method and the associated test b/c
it is not used anywhere anymore and updates the returned error type.
2022-03-10 10:22:13 -06:00
tgruben
000eccae46
Merge pull request #1971 from molecula/SUP-178
[FB-1247] undo bitmapN fix
2022-03-10 10:21:11 -06:00
rachithrr
ce776e97fc adding more chaos 2022-03-10 09:43:52 -06:00
Souhaila Noor
f653457b5a address reviewer's comments 2022-03-10 09:36:18 -06:00
Todd Gruben
57b8dcd43a go fmt 2022-03-10 09:03:07 -06:00
tgruben
52e9027c79
Update roaring.go 2022-03-10 08:26:07 -06:00
Todd Gruben
09a9932951 extra protection of bitmapToArray 2022-03-10 07:48:51 -06:00
Todd Gruben
4a6c0ab086 bitmapN not reliable et 2022-03-09 21:02:39 -06:00
Souhaila Noor
37f43d7d6f added concurrency for delete during start-up 2022-03-09 09:40:08 -06:00
Ben Johnson
b7c93072d4
Merge pull request #1966 from molecula/fb-1239
[FB-1239] Free previous RBF bitmap pointer page when replacing container
2022-03-09 08:13:02 -07:00