Comments (6)
@moulimukherjee @guswynn @benesch not sure who would be the right person/team to assign this to...
from materialize.
Once it has failed, you can use:
psql -p `docker port platform-checks-materialized-1 | grep '0.0' | grep 6875 | cut -d':' -f2` -h 127.0.0.1 -U materialize
to log in the Mz instance and then you can run:
select * from mz_internal.mz_aws_connections;
and it will return 1 row. However,
materialize=> select count(*) from mz_connections where type = 'aws';
count
-------
2
(1 row)
That is, the referential integrity between the two tables has been broken.
I am setting this to a release blocker as this is a form of data corruption with unknown downstream consequences.
from materialize.
Ah, this happens if the materialized
instance is restarted without the necessary environment variables:
materialize/misc/python/materialize/checks/mzcompose_actions.py
Lines 44 to 46 in 079fbca
@philip-stoev I suspect I added those environment variables to the wrong spot, and they are not in effect after the checks framework restarts the environment. I could use your help to figure out where I should have added those environment variables.
from materialize.
@benesch oh , let me check that.
from materialize.
@benesch It seems #24114 will do the trick, so I will merge it. However, test issues aside, is it a concern that the referential integrity was broken in this situation?
from materialize.
However, test issues aside, is it a concern that the referential integrity was broken in this situation?
Working as designed! If the AWS-related environment variables are missing on restart, I figured it was better to error!
than to panic the whole environmentd
and refuse to start up. I made the errors as loud as possible so that they get reported to Sentry in production.
There's no explicit foreign key between mz_connections
and mz_aws_connections
, so (IMO) not deep concerning correctness issues here. LMK if you disagree!
from materialize.
Related Issues (20)
- Allow superusers to modify privileges on system objects HOT 1
- Configure replica sizes through flags HOT 2
- CaseWhen limit overflows stack (again) HOT 2
- Postgres sources stuck in status STARTING even though they are running. HOT 1
- catalog: Add serde stability tests
- balancerd: Handle canceling connections HOT 12
- catalog: Update debug docs to use correct catalog store
- Logging and panics can interleave on same line in output HOT 8
- sentry: panic: data shard registered before forget HOT 3
- rename `statement_kind` column in `mz_internal.mz_activity_log` to `statement_type` HOT 3
- storage: track individual dataflow executions from the controller HOT 1
- [Epic] Fivetran destination, v1
- [PS] Unify the handling of default env variables between mzcompose and cloudtest
- [PS] Replace `with c.override` with `c.override`
- thread 'timely:work-0' panicked at src/storage/src/storage_state.rs:1026:34: only alter compatible ingestions permitted: InvalidAlter { id: User(26) } HOT 4
- parallel-workload: halting process: dataflow creation cannot fail: SinceViolation(User(267))
- ERROR: unknown catalog item 'sink_4_view' HOT 1
- adapter: set `welcome_message` to `false` by default HOT 5
- release: v0.81.0 required reviews HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from materialize.