The fix lands in production now. Let me know if you still encounter any other problem 🙂
The fix lands in production now. Let me know if you still encounter any other problem 
read_replication_mode again.

Exceeded maximum DB sizeThis error means that either you are inserting more than the limit for a single DB according to your plan (500MB/10GB), OR, that you are exceeding your account storage limit, again according to your plan.
My database is very quiet just now (but not silent, it's still receiving queries from all over).This is not concrete. What is quiet, and what is "still receiving queries from all over"?
Is there something that prevents replica creation if the DB isn't getting enough traffic?No, replicas are always "created" as in ready to start, one in each region. But, the traffic is what keeps them alive. No traffic, and they will shutdown again.
This is not concrete. What is quiet, and what is "still receiving queries from all over"?What I was trying to convey is that there is consistent non-zero traffic in every region, and that I expected read replicas in every region to be queried. "Quiet" as in "not enough to overload the primary DB".
.withSession() calls to my worker and see what happens. Thanks again.Your application can use read replicas with D1 Sessions API.
Hi im a noob to d1 and my biggest concern is obviously avoiding something like tea app disaster.What is the "tea app disaster"?
What is the "tea app disaster"?Recent data breach from an app called Tea: https://www.bbc.com/news/articles/c7vl57n74pqo



"db:push": "drizzle-kit push --config=./drizzle.config.ts",read_replication_modeconst result = await env.DB.withSession()
.prepare(`SELECT * FROM Customers WHERE CompanyName = 'Bs Beverages'`)
.run();
console.log({
servedByRegion: result.meta.served_by_region ?? "",
servedByPrimary: result.meta.served_by_primary ?? "",
});.withSession()Your application can use read replicas with D1 Sessions API."db:push": "drizzle-kit push --config=./drizzle.config.ts"import { defineConfig } from "drizzle-kit";
import { config } from "dotenv";
config({
path: ".env.stage"
});
export default defineConfig({
schema: ["./src/app/schema.ts", "./src/app/auth-schema.ts"],
out: "./drizzle/app",
dialect: "sqlite",
driver: "d1-http",
dbCredentials: {
accountId: process.env.CF_ACCOUNT_ID,
databaseId: process.env.CF_DATABASE_ID,
token: process.env.CF_TOKEN,
url: ""
}
});