mosn icon indicating copy to clipboard operation
mosn copied to clipboard

The Cloud-Native Network Proxy Platform

Results 218 mosn issues
Sort by recently updated
recently updated
newest added

### Describe the bug my config: ``` { "servers": [ { "mosn_server_name": "cdn-mosn-server", "default_log_path": "./error.log", "default_log_level": "ERROR", "global_log_roller": "age=7 size=500 compress=on", "graceful_timeout": "10s", "processor": 12, "listeners": [ { "name": "novaListener",...

kind/question
kind/enhancement

### The New Feature 通常来说,MOSN使用的路由Action配置是将请求转发到一个特定的Cluster。实际上,MOSN路由的Action配置(路由应该转发到哪个Cluster)支持带权重的Cluster路由能力,即同一个路由规则命中以后,可以按照权重选择要转发的Cluster。 但是目前的实现存在一些缺陷: 1. 目前不同权重的Cluster必须是不同名的,但是在实际使用的场景中,同一个Cluster是可以根据Metadata划分Subset的,因此权重路由也应该需要支持同名Cluster,但是Metadata不同的场景,可以配置不同的权重进行路由。 2. 目前权重路由的实现,是调用router.ClusterName()这个接口进行的。这就会导致每次调用这个接口都会执行一次路由的权重选择,这显然对于重试、日志打印等,都是不理想,甚至可能是错误的,需要解决这个问题,权重路由才能真正被使用 ### Your scenes Describe your use scenes (why need this feature). ### Your advice Describe the advice or solution of...

kind/enhancement
area/router

### The New Feature Fault tolerant supports cluster-host level, not only host level. ### Your scenes Cluster A and cluster B share host 1, but the two clusters need independent...

kind/enhancement

![image](https://user-images.githubusercontent.com/384546/105993655-9f36aa00-60e1-11eb-8fdd-cc35a8252343.png) 本 issue 用来收集社区用户对 mosn 的诉求, 以使我们对 21 年 mosn 的计划进行调整来支持大家共同发展 roadmap 确定之后我们会给出相应的时间节点,社区用户也可以参与相应的功能开发

### The New Feature https://openkruise.io/en-us/docs/sidecarset.html#Hot-Upgrade-Sidecar ### Your scenes Describe your use scenes (why need this feature). ### Your advice Describe the advice or solution of this new feature. ### Environment...

kind/feature

### Your question https://github.com/mosn/mosn/blob/v0.22.0/pkg/stream/http/stream_test.go#L56 ``` { "/home/sa%6dple", "/home/sample%20", "/home/sa%256dple", }, ``` 有点不太明白path应该是pathOri 经过normalizePath而来的,为啥还能出现sa%6dple 的情况呢? --- 另一个问题,我发现 `/home/%2Fsample` 在进buildUrlFromCtxVar 后,由于path会把多个`/`归成一个,导致`if err == nil && path == unescapedPath`不过,然后`u := url.URL{Path: path}` 得到的path是`/home/sample`,预期发出去的应该还是`/home/%2Fsample`,这里我用`u...

kind/question

add a dsl router samples to [dsl sample](https://github.com/mosn/mosn/tree/master/examples/codes/dsl-sample) doc. FYI https://github.com/mosn/mosn/pull/1540

kind/docs

`ResponseCodeDetails` variable means response code details provides additional information about the response code, such as who set it (the upstream or mosn) and why. `RequestTerminationDetails` variable means current request termination...

kind/feature

### The New Feature MOSN长期以来,都是只支持启动配置中只有一个Server字段的,不少Server字段中的配置已经是实际上的全局配置,如日志级别、是否支持热升级等。但是因为历史原因,配置结构的设计上一直是Servers数组形式,因为这个原因,导致用到Server的地方都会以Servers[0]的方式进行使用,配置模型与运行情况严重不匹配。 考虑对这块配置进行重构,修改为只支持一个Server配置的模式,并且将使用到Servers[0]的地方也都进行修改。 但是,需要考虑对历史配置的兼容性问题。兼容性方案初步设想如下: 1. 在第一次改动时,依然支持Servers的配置解析方式,但是解析完成以后,需要转换成单个Server的模式 2. 转换以后,利用类似配置持久化的能力(auto dump)将需要兼容的配置进行修改,配置持久化以后的配置就转换成单Server的模式 在第二次改动(下一个版本)中,删除对Servers能力的支持。这样在生产中平滑升级的场景预期就是: Servers 版本 -> 兼容版本 -> Server 版本 一期完成兼容版本即符合预期 ### Your scenes Describe your use scenes (why need...

kind/enhancement

### The New Feature 目前XProtocol协议支持多子协议扩展,但是对应的TraceLog中,在同一个Driver下,只有一个XProtocol级别的TraceLog实现。 由于MOSN一次只能加载一个Driver,所以导致TraceLog部分的扩展其实是缺失的。同样是XProtocol,预期希望的TraceLog内容可能也是不一样的。 需要重构TraceLog的部分,支持按照子协议扩展TraceLog的实现,可以区分Tracelog路径、Span输出的格式等。重构的时候需要考虑当前场景的兼容性。 在支持TraceLog扩展以后,可以考虑进一步对于SO扩展等方式支持Tracelog的扩展(可以完成此feature后再单独做一个feature) ### Your scenes 在扩展XProtocol子协议的同时,可以自定义tracelog的输出,同时不影响其他子协议的tracelog输出 ### Your advice Describe the advice or solution of this new feature. ### Environment - MOSN Version

kind/feature
kind/enhancement